Tuesday, 30 April 2019

chroot command in Linux with examples

Chroot command in Linux/Unix system is used to change the root directory. Every process/command in Linux/Unix like systems has a current working directory called root directory. It changes the root directory for currently running processes as well as its child processes. A process/command that runs in such a...

Saturday, 27 April 2019

depmod command in Linux with examples

depmod(Dependency Modules) command is used to generate a list of dependency description of kernel modules and its associated map files. This analyzes the kernel modules in the directory /lib/modules/kernel-release and creates a “Makefile”-like dependency file named modules.dep based on the symbols present in the set of modules. These...

Thursday, 25 April 2019

colrm command in Linux with examples

colrm command in Linux is used for editing text in source code files, script files or regular text files. This command removes selected columns from a file. A column is defined as a single character in a line. ◈ It always starts at index 1 and not 0....

Tuesday, 23 April 2019

hdparm command in Linux with Examples

“hdparm“(i.e, hard disk parameter) is one of the command line programs for Linux which is used to handle disk devices and hard disks. With the help of this command, you can get statistics about the hard disk, alter writing intervals, acoustic management, and DMA settings. It can also...

Saturday, 20 April 2019

File Management - Unix / Linux

We will discuss in detail about file management in Unix. All data in Unix is organized into files. All files are organized into directories. These directories are organized into a tree-like structure called the filesystem. When you work with Unix, one way or another, you spend most of...

Thursday, 18 April 2019

SED command in Linux - Set 2

We have discussed some of the SED command options in Sed Command in Linux/Unix with examples SED is used for finding, filtering, text substitution, replacement and text manipulations like insertion, deletion search etc. It’s a one of the powerful utility offered by Linux/Unix systems. We can use sed...

Tuesday, 16 April 2019

halt, poweroff and reboot Commands in Linux

Below are typical uses of halt, poweroff and reboot. 1. halt : Instructs hardware to stop CPU functions. 2. poweroff : Instructs the system to power down. 3. reboot : Restarts or reboots the system. The above mentioned commands can only be run by super user as these...

Saturday, 13 April 2019

Sed Command in Linux/Unix with examples

SED command in UNIX is stands for stream editor and it can perform lot’s of function on file like, searching, find and replace, insertion or deletion. Though most common use of SED command in UNIX is for substitution or for find and replace. By using SED you can...

Thursday, 11 April 2019

Operating System - The Linux Kernel

The main purpose of a computer is to run a predefined sequence of instructions, known as a program. A program under execution is often referred to as a process. Now, most special purpose computers are meant to run a single process, but in a sophisticated system such a...

Tuesday, 9 April 2019

Soft and Hard links in Unix/Linux

A link in UNIX is a pointer to a file. Like pointers in any programming languages, links in UNIX are pointers pointing to a file or a directory. Creating links is a kind of shortcuts to access a file. Links allow more than one file name to refer...

Saturday, 6 April 2019

tr command in Unix/Linux with examples

The tr command in UNIX is a command line utility for translating or deleting characters. It supports a range of transformations including uppercase to lowercase, squeezing repeating characters, deleting specific characters and basic find and replace. It can be used with UNIX pipes to support more complex translation....

Tuesday, 2 April 2019

SORT command in Linux/Unix with examples

SORT command is used to sort a file, arranging the records in a particular order. By default, the sort command sorts file assuming the contents are ASCII. Using options in sort command, it can also be used to sort numerically. ◈ SORT command sorts the contents of a...

Pages (26)1234567 »