Specify the list of different environment variables

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: to make temporary and permanent change of the #PATH variable. (Add the directory to your $PATH variable for the current login. Make a permanent change by adding the path to the profile file - say, .bash_profile in home directory.) Know what an alias is, and how to customize shells using an alias. Know how to run the program in the background. Example: rxvt & Know how to use pipe to redirect output of a program to a file, and redirect the content of the file to another program. Know how to build your own shell commands using chmod command. Assign shell variables to represent command line arguments to a shell command. Red Hat Certified Engineer (RH302) Basic Linux Commands and Utilities Be familiar with the commands and utilities in this table. Check the man page for detailed usage, such as switch, pipe, etc. Command Usage Note man get help the Linux manual sections, man1 to man9, are in /usr/man directory. cd move to a different directory know what .. and ~ can do as parameters to the CD command. pwd print working directory find search directories for matching files whereis find files from files directories locate locate files from locate's database locatedb updatedb update locatedb database whatis get command summaries makewhatis build the whatis database (db of command summaries) makewhatis is in /usr/sbin directory apropos search for whatis database to get the program you want man -K option does the same thing ls list files and directories know the -m, -x, -F, -a, -l, -R, -d switches. Know how to use wildcards * and . dir, vdir list directories tree list graphic directory know the -d option cat list, create, and combine files know the -n, -l, *, >, >> options and pipes. Know Ctrl-D to close file. more read files less read files (allows scrolling, have more options than the more command) use zless command to compress files head, tail read the beginning and the end of files know the -q option touch create files know how to create a file and redirect output to a new file (use with Ls for example.) rm delete files know the -r, -f, -i options and wildcards mkdir create directories know how to create multiple directories and create sub directories u...
View Full Document

Ask a homework question - tutors are online