Display the contents of your current directory, and show the directory information in both "long format" AND "human readable format" (i.e. display MB)

others

Description

1.Enter the entire command line to complete the following task:

Display the contents of your current directory, and show the directory information in both "long format" AND "human readable format" (i.e. display MB).

NOTE: Type your answer exactly as you would at a command line:  Do not add extra spaces, no quotations, no $ symbols, etc.

 

2. Enter the entire command line to complete the following task:

Create a new directory called homework

NOTE: Type your answer exactly as you would at a command line:  Do not add extra spaces, no quotations, no $ symbols, etc.

 

3. Enter the entire command line to complete the following task:

Move your directory location from your home directory to your desktop.

NOTE: Type your answer exactly as you would at a command line:  Do not add extra spaces, no quotations, no $ symbols, etc.

 

4. Enter the entire command line to complete the following task:

Search a file called module2.lab to see if it contains the word test regardless of case (e.g. search to find:  test or Test or TEST).

NOTE: Type your answer exactly as you would at a command line:  Do not add extra spaces, no quotations, no $ symbols, etc.

HINT: There are four parts:  1) the command 2) the option  3) the string  4) the file

 

5. Enter the entire command line to complete the following task:

Assume you are in your home directory.  List the directory's contents, and then redirect this output (save to a file) this information to a file called mod2.lab

NOTE: Type your answer exactly as you would at a command line:  Do not add extra spaces, no quotations, no $ symbols, etc.

 

6. Enter the entire command line to complete the following task:

Display the contents of your current directory, in long form.

NOTE: Type your answer exactly as you would at a command line:  Do not add extra spaces, no quotations, no $ symbols, etc.

 

7. Enter the entire command line to complete the following task:

Change directories from your home directory to the  /etc.  directory with one command.

NOTE: Type your answer exactly as you would at a command line:  Do not add extra spaces, no quotations, no $ symbols, etc.

 

8. Enter the entire command line to complete the following task:

Assume you are in your home directory with the following two files.  Rename the file abc.txt  to  def.txt

NOTE: Type your answer exactly as you would at a command line:  Do not add extra spaces, no quotations, no $ symbols, etc.

 

 

 

 

 

 

 

 


Related Questions in others category