Itec | ITEC | Towson University - Towson, MD
2. Using manual for Help with Linux Commands
· The man[ual] command with –k option allows you to search the Linux manual · Use the man -k command to search the Linux manual and find the command to clear the screen (hint: man -k clear) a. What command clears the terminal screen? Answer: ________________________ b. What does the ls command do? Explain what each of the following options of the ls command mean: -l, -a, -d · Practice using the man -k command to search the Linux manual for other common commands/functions such as copying/renaming/deleting files · Once you locate the specific command use the man command to get more specific information about that command c. What command is used to copy a file? Answer: ________________________ a. What command is used to delete a file? Answer: ________________________ b. What command is used to delete a directory? Answer: ________________________ d. What does the command cp –n do? (what does the –n do?) Answer: ________________________ · Use the man command to explore the following commands: pwd, wc, cat, touch, df, du, find, sort, ps, kill, date e. What does each of the above commands do? pwd = wc = cat = touch = df = du = ps = kill = find = sort = date = f. What is the current system date and time? Answer: ________________________ g. What command did you use to show the current system date and time? Answer: ________________________ · End the Linux command line session and return to the Linux Desktop h. What command did you use to exit? Answer: ________________________