To search a string at the end of the line use
/ *
/$
/&
None
What is SPOOL?
A mechanism to connect to printer, keyboard and monitor in linux
A mechanism to share printer across users
A request made by the device to linux kernel
How to sort a file in decending order
sort -d
sort
sort -r
sort -R
"Which one of the following lines is correctly formatted as the last line of a /etc/printcap file? "
:mx#2:
:mx#2
:mx#2\
"Which of the following describes correctly the function of GhostScript? "
A free implementation of PostScript
A printing management tool
A program for converting files to PostScript
A free interpreter of PostScript
Which of these commands finds all lines on which the word "Linux" occurs and then deletes them in vi editor
g:Linux/d
:g/Linux/d
g/d/Linux
Linux/:g/d
"What do you use the rp field in the /etc/printcap file to specify? "
A remote machine address
A printer on a remote machine
A remote printer address
Both a printer and a remote machine
"Which of the following does the .seq file in the printer spooling directories do? "
Prevent two jobs being sent to the same printer simultaneously
Keep track of all the print jobs in the spooling directory
Assign job numbers to new print jobs
Record the owners of print jobs
"Who can manipulate the order of print jobs in a print queue? "
The owner of the job
The root user
Anyone
Anyone who can submit jobs to the print queue
If the argument list is omitted from a for command, where does it take its values from?
The $* shell variable
The $@ shell variable
Redirected input
Redirected output