Linux Lab 02 Command Line
Linux Lab 02 Command Line
2. How many commands can a user execute? cmd1 ; cmd2 #Use ; for cmd concatenation
#man, info, which, type, whereis, apropos
3. How many commands can a priviliged user ls /etc ¦ less #less is more (<q> to quit)
execute? ls /etc ¦ grep -i fstab #Filter output using grep ignoring upper case
4. How many commands did the user already nohup cmd #Leave cmd running aft logout (hang up)
execute in the past? #such as the screen package
cmd & #Start cmd in background (running)
5. Execute command number 1 from the command <ctrl-z> #Set program into background (stopped)
history
jobs #Show background programs
6. How can you search in a directory to a filename bg [nr] #Start background program (running)
ignoring upper and lower case characters? xset -b #Set sound bell for alerts = off (in X)
Theory Modules
LPIC 1 Certification Bible, isbn 0-7645-4772-0
➢ p. 63 Ch. 2 Using the Shell
➢ p. 275 Ch. 7 Using Documentation
➢ p. 72-77 Environment Variables and Settings
➢ p. 527-540 Customizing the Shell Environment
Extra References
➢ www.tldp.org
➢ www.vmware.com