Question: Required solution in bold only require G . * * * For Linux, everything is considered a file, including regular files, directories, hardware devices and
"Required solution in bold only require G
For Linux, everything is considered a file, including regular files, directories, hardware devices and sockets. In this question, you are asked to carry out some practical activities for manipulating files with Linux. Include either screenshots or output from the command line to document your answers. Use either an internet search or the man command to obtain more information about available commands.
aDisplay a detailed listing of all files in the current users home directory, including any hidden files.
bRecursively list the files of usrlib and sort them by modification time, newest first. For this question, you only need to display the first a few lines about of the output.
cCreate a new directory named NewDir, which includes a new file NewFile. Using octal values, change the permissions of NewFile so that the user can read and write but not execute the file, and the group and others can read the file but not write or execute it
dLook for the command for timing how long a program takes to execute. Also find the command for generating a sequence of numbers. Use these commands to time how long it takes to add a sequence of odd numbers starting at and ending at to NewFile.
eUse the appropriate command to obtain your network configuration and append the result to NewFile. Display the contents of NewFile.
fBecome a superuser and create a new user called Victoria with a userid of
gCount the number of occurrences of ls in the command history and redirect the result to a XH new file count.txt
marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
