Tag: operating systems

Questions Related to operating systems

What is the command to display all the environment variables?

  1. environ

  2. setall

  3. env

  4. None of these


Correct Option: C

I have a script which will prompt me to enter a password. But I want that the password should not be displayed when I enter the password. How do I achieve this?

  1. stty -echo

  2. set noecho

  3. stop echo

  4. None of these


Correct Option: A

What is the command to check all the recent logins with IP address on my AIX server?

  1. last

  2. logins

  3. recentlogin

  4. None of these


Correct Option: A

What is the output of the following command? $ awk '{print "'\''"}' /etc/passwd|head -1

  1. a single quote

  2. a double quote

  3. syntax error

  4. None of these


Correct Option: A

What will happen if I press v after firing the following command?

  1. Show verbose messages

  2. Enter VI editor

  3. Show the version of more command

  4. None of these


Correct Option: B

When a new user is created on AIX server, the default value of PATH variable is set from which configuration file?

  1. /etc/environment

  2. /etc/profile

  3. /etc/defaults

  4. None of these


Correct Option: A

What is the command to find the maintenance level of AIX 5.3 and above?

  1. oslevel -r

  2. maintenancelevel

  3. osversion

  4. uname -a


Correct Option: A
  1. The maximum size of any filesystem created in that VG can be of 1GB

  2. The minimum size of any filesystem created in that VG can be of 1GB

  3. PP size of 1GB is not possible.

  4. None of these


Correct Option: B

What is prtconf in AIX?

  1. A command to gather system configuration.

  2. A command to monitor performance.

  3. Not a valid AIX command

  4. None of these


Correct Option: A

How can I disable ftp on my AIX server?

  1. Hash the line for ftp in /etc/inetd.conf and refresh the inetd daemon.

  2. Execute the coommand: # service ftpd stop

  3. Execute the command:# stopsrc -s ftpd

  4. None of these


Correct Option: A