Question: Using Ubuntu OS... help is greatly needed! Thank you. Display the current date From you home directory, create some nested directories called one/two/three. Use the

Using Ubuntu OS... help is greatly needed! Thank you.

  • Display the current date
  • From you home directory, create some nested directories called one/two/three. Use the "tree" command to show that it worked
  • Change directory to the "two" directory and copy the /etc/passwd file there
  • From the "two" directory, move the passwd file to the "one" directory. Use "ls" to show that it's there
  • From the "two" directory, create some empty files called "test1", "test2", and "test3". Use "ls" to show that they are there
  • Show the long file listing of just test1 and test2 using wildcards
  • Change directory to your home directory, show the long listing of one/passwd file
  • From the home directory, delete the one/passwd file. Use "ls" to show that it's gone
  • Show the manual page for the "mkdir" command
  • Show the manual page for the "mkdir" API function
  • Create an alias called "home" that does two things... returns you to your home directory, then does a long listing of all files found there
  • Create a file called "Output.txt" that contains the output of the "ls /etc" command
  • Using "cat", create a file called "poem.txt" where you enter at least one line of text ("Mary had a little lamb" will do...)
  • Using "cat", pipe the contents of poem.txt into the "wc" command to count the number of words
  • Using "cat" and "grep", display only the lines in /etc/passwd that has contain your user name
  • Display the last 5 lines of the /etc/passwd file

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!