Linux

Home/Linux

Packet Analyzer: TCPDUMP Command Examples

By |2021-03-11T15:40:00+05:30August 12th, 2016|Commands, Linux|

TCPDUMP command is also called as packet analyzer. The command in general: Capital S means 'Specific' i.e. just traffic to and from the host you specify Lowercase s means the maximum size of the packet. '0' means anything. pipe "|" tee means send it to the file and the console. TCPdump on a CPAM server [...]

Comments Off on Packet Analyzer: TCPDUMP Command Examples

Linux Boot Process (System Initialization)

By |2021-03-11T15:40:01+05:30August 7th, 2016|Linux|

Linux boot process  help us to troubleshoot if Linux server struck up in booting. This Linux Boot process made very faster compared to old versions. New version of Linux includes systemd which is replacement for init. Symbolic link from /sbin/init –> /usr/lib/systemd/systemd. Systemd has a full control to restart crashed services and its components.   Step 1:  Power [...]

Comments Off on Linux Boot Process (System Initialization)

Basic Linux Commands That Every Developer Must Know

By |2021-03-11T15:40:03+05:30August 3rd, 2016|Commands, Linux|

In an administration career, the most frequent things which you encounter is commands. Linux commands are the foundation of administration career. Commands can be of different types based on their function like- An executable program this is the files which we see in /usr/bin in this category, programs can be compiled binaries such as programs [...]

Comments Off on Basic Linux Commands That Every Developer Must Know

Linux Software on Windows

By |2021-03-11T15:40:06+05:30July 12th, 2016|Linux, Windows|

Many Windows users want to try Linux at some time. They may be different reasons for that, may be they are irritated by Windows updates, may be they love open source. If you are looking for a better development environment and powerful command-line tools, you can run Linux software on Windows. Different options are available [...]

Comments Off on Linux Software on Windows

Limit CPU usage of Linux process

By |2021-03-11T15:40:07+05:30July 11th, 2016|Commands, Learning, Linux|

cpulimit is a small program written in C that allows to limit CPU usage by Linux process. Limit is specified in percentage so it’s possible to prevent high CPU load generated by scripts, programs or processes. I found cpulimit pretty useful for the scripts running from cron, for example I can do overnight backups and [...]

Comments Off on Limit CPU usage of Linux process

10 Shell Commands all Bloggers Should Know

By |2021-03-11T15:40:08+05:30July 7th, 2016|Commands, Linux|

1. Deleting Nested Folders With the rm command you can remove (unlink) files and folders from your hard drive. But what about a whole lot of nested folders too? Especially if each folder set contains subsequent files and mismatched data. The option -r will recursively flip through all subsequent files and folders to remove the [...]

Comments Off on 10 Shell Commands all Bloggers Should Know

How To Install and Use Jenkins on Ubuntu 14.04 LTS

By |2021-03-11T15:40:09+05:30June 24th, 2016|Linux, Ubuntu|

Jenkins is an automation server and continuous integration tool. It provides lots of plugins for building deploying and automating plugins. Step 1 – Add Jenkins PPA Jenkins is available in two versions. One is LTS release provides long-term support and other provides latest version. Add LTS Version PPA $ wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | [...]

Comments Off on How To Install and Use Jenkins on Ubuntu 14.04 LTS

Example of lsof commands in UNIX and Linux

By |2016-12-24T10:13:05+05:30June 11th, 2016|Commands, Linux|

How to get lsof command lsof command generally comes pre-installed in many UNIX system. If you are getting -bash: lsof: command not found an error while using lsof then it could be that lsof is not in your PATH. just check /usr/bin or /usr/sbin folder for this command. If you don't find there then you [...]

Comments Off on Example of lsof commands in UNIX and Linux

Limit CPU usage of Linux process

By |2021-03-11T15:41:09+05:30April 11th, 2016|Learning, Linux|

cpulimit is a small program written in C that allows to limit CPU usage by Linux process. Limit is specified in percentage so it’s possible to prevent high CPU load generated by scripts, programs or processes. I found cpulimit pretty useful for the scripts running from cron, for example I can do overnight backups and [...]

Comments Off on Limit CPU usage of Linux process

Linux df Command Usage Examples

By |2017-05-22T11:23:22+05:30April 8th, 2016|Learning, Linux|

Introduction Linux df command can be used to display disk usage statistics for the file systems present on the Linux system. It’s handy tool to know which filesystem is consuming how much memory. Also, if a particular filename is picked up and supplied as argument to df command then it displays the disk usage statistics [...]

Comments Off on Linux df Command Usage Examples