Category: Linux

How to manage RHEL / CentOS / OEL Linux Services

Linux Send feedback »
Redhat enterprise Linux comes with two nice commands ntsysv - simple TUI (text based interface) interface for configuring runlevels. chkconfig - chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by r… more »

Archiving Files and Remote Transfer

Linux, Solaris, Aix, HP-UX Send feedback »
Introduction To safeguard your files and directories, you can create a copy, or archive of the files and directories on a removable medium, such as a cartridge tape. You can use the archived copies to retrieve lost, deleted, or damaged files.… more »

Searching for Files and Directories Using the find command

Linux, Solaris, Aix, HP-UX, Shell Script Send feedback »
The find command recursively descends the directory tree in the path name list, looking for the files that match the search criteria. As the find command locates the files that match those criteria, the path to each file is displayed on the screen.… more »

Searching for Content in Files Using the fgrep

Linux, Solaris, Aix, HP-UX, Shell Script Send feedback »
You can use the fgrep command to search a file for a literal string or a group of characters. The fgrep command reads all regular expression characters literally. Regular expression metacharacters have no special meaning to the fgrep command, for exa… more »

Searching for Content in Files Using the egrep

Linux, Solaris, Aix, HP-UX Send feedback »
The egrep command searches the contents of one or more files for a pattern using extended regular expression metacharacters. Extended regular expression metacharacters include the regular expression metacharacters that the grep command uses, plus som… more »