Go back to
An operator has been asked if a system was rebooted.Which of the following commands should be used to determine if a reboot has occurred?
The ptime?command.The ?ptime?command.
What is the correct command to display the current working directory?
An operator is in /usr/bin running the command 'ls ../lpp/*/bosinst'. What output directory will be displayed?
What command will allow the operator to add the current working directory to the command search path?
Which of the following is the correct command to list the filesystems in datavg?
lsvg -l datavg
What command show how much space is assigned to the 'rootvg' volume group?
An Operator is in /var/tmp and needs to go to /var/adm. Which of the following is correct?
An operator wants to make sure stdout and stderr of the ls command are redirected to the pg command via the pipe. Which syntax is correct?
After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize the secure shell daemon to enable the new settings. Which of the following is the correct way to achieve this?
Use stopsrc -s sshd and then startsrc -s sshd
The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?
Which of the following commands can be used to show all disks configured on the system?
lsdev -Cc disk
What command will an operator use to check if the system has NFS3 filesystems currently defined?
lsfs -v nfs3
Which of the following commands would an operator use to give all group members executable permission for the file 'script.sh'?
chmod g+x script.sh
A system does not have a nameserver defined for IP address resolution. What file does AIX use to determine the IP address of a remote system?
How can an operator list all its history of commands in one step?
Run c -l 0?from the command line.Run ?c -l 0?from the command line.
Which of the following commands can be used to locate all occurrences of a file script.sh on a system?
find / -name script.sh -print
Which of the following will occur if an operator types the command i file.out?Which of the following will occur if an operator types the command ?i file.out?
If the file exists it will be opened for editing. If the file does not exist a new file with the name file.out will be created and opened for editing.
An operator is asked to shutdown the telnet service forsecurity reasons. What are the appropriate commands to achieve this?
comment out telnetd in /etc/inetd.conf refresh -s inetd
Which of the following will cancel only job 123 from printer lp01?
qcan -x 123 -P lp01
After making changes to the profile for an LPAR, the administrator asks the operator to bring the LPAR back up into a running state with the new changes. Which of the following is the correct way to do this?
Shutdown and activate the partition profile
Operator needs to remove all leading comments ??from shell.script file. Which of the following vi sub-command can achieve this?
An operator wants to view all the scheduled jobs on asystem. Which of the following locations would house scheduled jobs?
An operator is editing a file using vi. Which of the following subcommand sequences will copy the current line plus the next 2 lines to the end of the file?
Which of the following commands will display what space is used in /tmp filesystem?
df -Ik /tmp
An operator needs to get lines in /etc/filesystems ending with ':'. Which of the following commands will achieve this?
grep :$ /etc/filesystems
Which of the following procedures will allow an operator to access an LPAR console session?
Start an ssh session to the HMC.Use the vtmenu command to select the desired LPAR.
Which of the following AIX storage concepts is correct?
A filesystem can span multiple physical volumes.
An operator wants to move all files inside the directory/home/operator to the current directory. Which of the following commands will complete the task?
mv /home/operator/* .
A user created a file name '.newfile' in the /save directory, but doesn't see the file when listing the directory contents. Which command will verify the file is in the directory?
ls -a /save
Which of the following commands will list available paging space on a system?
An operator has been asked to display all users which have primary or secondary group set to 'webadmin'. Which of the following commands will retrieve the required information?
An operator needs to schedule the script '/usr/scripts/listall.ksh' to run at 19:00 on the current day. What is the correct form of the 'at' command to accomplish this task?
at 7 P /usr/scripts/listall.ksh
Which of the following is a correct statement about howthe user environment is configured at login?
The settings in the /etc/environment file are system-wide and will override user customized settings in the $HOME/.profile.
Which of the following commands will show the users that are logged on a system ?
Which of the following is required for a user to have theauthority to change another user's password?
Must be logged in as root or a member of the security group
Which of the following will allow an operator to do abackup of '/var' in relative path using the 'backup' command?
cd /var;find .|backup -ivf /dev/rmt0
An operator notices that a job on the system is causing poor performance. The job is a root process and the administrator has concluded itis not important and can be stopped. Shortly after stopping the process, it starts again. Which of the following commands will list repeating scheduled tasks?
An operator needs to create a bootable system image to tape drive 'rmt0'. Which command will give the desired result?
mksysb -i /dev/rmt0
An operator is asked to rewind and eject a tape from asystem. Which command will accomplish this without touching the tape drive?
An existing directory '/history_logs' contains too manyfiles, so the 'ls' command fails. How can the operator determine the number of files in the directory?
find /history_logs -type f | wc -l
Which of the following will rename dir1 as dir2?
mv dir1 dir2
How would an operator determine if the System Activity Report has been scheduled?
Login as adm and run crontab Login as adm and run crontab ?
An operator needs to create /dir1/dir2/dir3. The /dir1 does not exist. What command can be used to create dir2 and dir3?
mkdir -p /dir1/dir2/dir3
What is the purpose of the 'who -d' command?
Show the processes that were not re-spawned by init and their exit state value
An operator is in the middle of a file using 'more'. What subcommand can be used to go to previous page in the file?
What command can be used to make all mountable filesystems available for use?
During heavy system resources usage, and administrator detects that the top processes are from the user 'webapp'. The operator needs to check all the running processes from that user to analyzethem. Which command can retrieve that information in a single step?
ps -fu webapp
Which of the following can be used to insert a new line below the current line inside a vi session?
A database process is running under user 'dbuser'. An operator logs in as dbuser and wants to stop all the processes running under thatuser immediately. Which of the following should be used?
kill -9 -1
Users are reporting server connectivity issues. Theoperator must check if the physical Ethernet adapter 'ent1' has an active link. Which of the following commands will display the following output? Link Status : Unknown
entstat -d ent1 | grep Link