Unix/Linux Command Line Operations

Test your knowledge of Unix/Linux commands for file operations, networking, system monitoring, and process management

13 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which command is used to Change access permissions

  1. chmod
  2. chroot
  3. chaccess
  4. chgrp
Question 2 Multiple Choice (Single Answer)

Which command is used for DNS look up?

  1. nslookup
  2. dnslookup
  3. dig
  4. lookup
Question 3 Multiple Choice (Single Answer)

Which command is used to Identify/kill the process that is accessing a file

  1. kill
  2. fuser
  3. proc
  4. killproc
Question 4 Multiple Choice (Single Answer)

Which command is used to Output the first part of file(s)

  1. top
  2. start
  3. first
  4. head
Question 5 Multiple Choice (Single Answer)

which command is used to Configure a network interface

  1. ifconfig
  2. ipconfig
  3. nslookup
  4. ethconfig
Question 6 Multiple Choice (Single Answer)

Which command is used to find Networking information

  1. netstat
  2. ifconfig/all
  3. ipconfig/all
  4. nslookup
Question 7 Multiple Choice (Single Answer)

The command used to Trace Route to Host

  1. tracert
  2. findhost
  3. tracerout
  4. rootfind
Question 8 Multiple Choice (Single Answer)

Which command is used to Print the current user id and name (`id -un')

  1. who
  2. whoami
  3. whologgedin
  4. user
Question 9 Multiple Choice (Single Answer)

Command used to report virtual memory statistics

  1. vmstat
  2. stats
  3. virstat
  4. vmdetail
Question 10 Multiple Choice (Single Answer)

What is the command to list file inode numbers along with longlisting.

  1. ls -ll
  2. ll
  3. ls -li
  4. ls --inode --long
Question 11 Multiple Choice (Single Answer)

How to remove a file named : -sag

  1. rm -f -sag
  2. rm ./-sag
  3. rm -m -sag
  4. none
Question 12 Multiple Choice (Single Answer)

what is the tree command use in unix.

  1. displays the tree structure of the current directory files
  2. displays the process tree structure
  3. displays the tree structure of the current directory files along with access and modification times
  4. we dont have it in unix
Question 13 Multiple Choice (Single Answer)

How do and agent trace his I.P system address ?

  1. Agent need to click on start button type CONFIG in run option. And will get c:\winnt window than he needs to type ipconfig and press enter
  2. Agent need to click on start button type RUN in run option. And will get c:\winnt window than he needs to type ipconfig and press enter
  3. Agent need to click on start button type CMD in run option. And will get c:\winnt window than he needs to type ipconfig and press enter
  4. None of the above