Commands

Home/Linux/Commands

Backup Linux Using dd Command

By |2021-03-11T15:39:18+05:30April 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 |2021-03-11T15:39:19+05:30March 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 |2021-03-11T15:39:20+05:30March 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 |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

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

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

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