Commands

//Commands

Backup Linux Using dd Command

By |April 1st, 2017|Backup, Commands, Linux|

Data loss will be costly. At the very least, critical data loss will have a financial impact on companies of all sizes. The ' dd ' command is one of the original Unix utilities and should be in everyone's tool box. It can strip headers, extract parts of binary files and write into the middle [...]

Comments Off on Backup Linux Using dd Command

YUM PACKAGE MANAGER IN RHEL/CENTOS

By |March 25th, 2017|Commands, Linux, Red Hat|

YUM stands for Yellowpage Updater Modifier is a Package Manager tool for rpm package supportable Linux distributions. It is used to install, uninstall, update, list the available packages and search the rpm packages from the database. Purpose of yum is to install rpm packages easily with all required dependencies for administrators. 1. Install a Package [...]

Comments Off on YUM PACKAGE MANAGER IN RHEL/CENTOS

Crontab Job Scheduling

By |March 24th, 2017|Commands, Linux|

Crontab allows Linux and Unix users to run commands or scripts at a given date and time. You can schedule scripts to be executed periodically. Cron is one of the most useful tool in a Linux or UNIX like operating systems. It is usually used for sysadmin jobs such as backups or cleaning /tmp/ directories and [...]

Comments Off on Crontab Job Scheduling

Packet Analyzer: TCPDUMP Command Examples

By |August 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

Basic Linux Commands That Every Developer Must Know

By |August 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

Limit CPU usage of Linux process

By |July 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 |July 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

Example of lsof commands in UNIX and Linux

By |June 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