SYNTAX OF UNIX

THERE ARE VARIOUS SYNTAX USED IN UNIX ,AND THEY ARE LISTED AS FOLLOWS

$echo([command]) is used to execute commands in shell script

MCQ

ANSWERS:

1)In df command,-H is used to print the disk space size in human-readable format.

    True

    False

2)What is the option to display the calendar using Sunday as the first day of the          week?

    a.-s

    b.-w

    c.-e

    d.-t

3)Which command should be used to know more about the command  "whoami"?

    a.help whoami.

    b. man whoami.

    c. whoami.

4)What will be the output of the given code snippet?

                $dc

                  4

                  5            

                  +

                  3

                  p

                 __

5)Fill the specific date format in the given echo statement, to print the date in dd/mm/yyyy format.

 

 echo 'date+___/____/___`

6)What is the option used in ls command to list all entries in the current directory including hidden files?

     

7)Predict the output for the following command, if the current date is 21-04-2000.

date '+%B %H'

8)Write the command to display the current date in the form dd/mm/yyyy.

 

9)Single user mode shell has _____ prompt.

 

10)What is the default maximum number of processes that can exist in Unix?

ANSWERS:

  • Loginhackers Blogger
  • Contact us via Twitter Loginhackers
  • Contact us via Instagram
  • loginhackers facebook contact id

Free Premium | Spotify premium for free | Grammarly free premium | Netflix free accounts | Netflix mod | Spotify mod | Hotstar mod | Spotify premium mod apk | free amazon prime account