Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Help answering this linux questions. Just the posible ones. Copy this document t

ID: 3581292 • Letter: H

Question

Help answering this linux questions. Just the posible ones.

Copy this document to your workstation. Open the document in Microsoft Word or open office. Enter the answers to all questions. Save an electronic copy for later use 1. Look up the following switches for the ls command in the system manuals. Use the results in your homework's procedure and the output of the manual command, man lsan to describe the effects of the following switches. Compare the changes to output of each switch with the output of the command without any switch. a) -1 b.) -a c) -la -t -rt 2. The and redirection operators redirect the output of any command to a file instead of displaying it on the screen. What is the difference between using over or vice versa? 3. How do I create a hidden file in Linux? 4. Identify and list all the hidden files in your login directory 5. There are one or more hidden files under csel50/hw03. Change your working directory to ~/cse150/hw03 a. List all the hidden files under ~/cse150/hw03. b.) What is in the hidden file(s) or what appears to be their purpose (in general 6. Look up the following switches for the cp command in the system manuals. Use the results in your homework's procedure and the output of the manual command, man

Explanation / Answer

HI, I have answered first 3 questions.

Please repost others in separate post.

1)
   ls -l:
       List in long format.If the output is to a terminal, a total sum for all the file sizes is output on a line before the long listing.

ls -a:
   Include directory entries whose names begin with a dot (.)

ls -la:
   List in long format including files begin with dot(.)

ls -t:
   Sort by time modified (most recently modified first) before sorting the operands by lexicographical order.

ls -r:
   Reverse the order of the sort to get reverse lexicographical order or the oldest entries first (or largest files last, if combined with sort by size)

ls -rt:

ls -R:
   Recursively list subdirectories encountered.

2)
   > => this is logical relational operator , that takes tow operands. Ex 5 > 4 => true
   >> => this is rigth shift operator

3)
   Hiden file starts with dot(.). Ex: touch .file_name