Unix/Linux Commands Quiz

Test your knowledge of Unix/Linux commands including file operations, system utilities, and vi editor commands

10 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the command to create a file in unix?

  1. create
  2. tocohe
  3. touche
  4. touch
Question 2 Multiple Choice (Single Answer)

What is the command to create directory?

  1. mkdir
  2. mknod
  3. mkfol
  4. cat
Question 3 Multiple Choice (Single Answer)

What is the location to find the kernel file?

  1. /bin
  2. /usr
  3. /stand
  4. /home/usr
Question 4 Multiple Choice (Single Answer)

In which file default run level is stored?

  1. /usr/local
  2. /bin/local
  3. /etc/inittab
  4. /etc/default
Question 5 Multiple Choice (Single Answer)

What is the command to list files in directory?

  1. dd
  2. xx
  3. pp
  4. ll
Question 6 Multiple Choice (Single Answer)

What is the command to know the version of the OS?

  1. uname -a
  2. uname -e
  3. uname -os
  4. uname -w
Question 7 Multiple Choice (Single Answer)

what is the command to delete lines in 'vi editor'?

  1. ll
  2. dl
  3. dw
  4. dd
Question 8 Multiple Choice (Single Answer)

what is the command to know the lines in one file?

  1. wc -l
  2. wl -c
  3. lc -w
  4. wk -a
Question 9 Multiple Choice (Single Answer)

what is the command to see the status of any printer?

  1. lpstat -p
  2. lpstat -o
  3. lpstat -s
  4. lpstat -i
Question 10 Multiple Choice (Single Answer)

What is the command to see the space utilization of any file system?

  1. ebdf
  2. show
  3. free
  4. memory