To do this without leaving vi, youtype:
You want to save vi changes to the file myfile with :w!, but vi complains it can not write to the file.
Therefore, you want to check the write permissions on the file. To do this without leaving vi, you
type:
What command changes the priority of the process running with process id of 12345 to the highestpriority?
What command changes the priority of the process running with process id of 12345 to the highest
priority?
Which TWO commands will find the path for the binary vim?
Which TWO commands will find the path for the binary vim?
What key sequence will suspend the current process and return you to a shell prompt?
What key sequence will suspend the current process and return you to a shell prompt?
Which of the following options would be the most appropriate command line to execute this task?
As root you have navigated to directory /B. You wish to move all of the files and directories from
directory /A to directory /B. Which of the following options would be the most appropriate
command line to execute this task?
Which of the following would do the same as the command cat file2.txt?
Which of the following would do the same as the command cat < file1.txt > file2.txt?
Which command willallow you to install the updated version?
You see following output while trying to install an updated package: [root@example pub]# rpm -I
gthumb-2.2.0.i386.rpm package gthumb- 1.0.1.i386.rpm is already installed. Which command will
allow you to install the updated version?
How can youremove this package?
You installed a beta rpm package, but are experiencing some problems with it. How can you
remove this package?
which may be security related?
After a minor security incident you are instructed by your lead sys-admin to verify the RPM’s
installed on a running system. Which command will create a complete report which you can
analyze for changes which may be security related?
What file is read by the program ldconfig?
What file is read by the program ldconfig?