Can you answer a few simple linux questions?
if the answer is yes to all or most of these, I'm curious what your job is........
If you wanted to turn off mail notification, what command would you use?
mesg n
mesg off
biff n
notify off
set notify=off
Which of these commands could you use to show one page of output at a time?
more
sed
pause
less
grep
Which commands will give you information about how much disk space each file in the current directory uses?
ls
ls -l
ls -a
ls -la
du .
What command would send the output of cmd1 to the input of cmd2?
cmd1 cmd2
cmd1 ; cmd2
cmd1 | cmd2
cmd1 || cmd2
cmd1 && cmd2
Under the bash shell, when a command is running, pressing control-Z will usually
adds an EOF to the file.
suspend the foreground task.
kill the command running in the foreground
move the foreground task into the background
log the user off
What is the 'man' command used for?
it is the replacement for the 'boy' command
it is a standard alias to 'ls -la | more'
it is used to display formatted html pages
to display information about the syntax for a command
In which file might you find the following entry: root:x:0:0::/root:/bin/bash
As root, what command would you type to initiate a password change for user larry?
Under the bash shell which is the most appropriate place to set environment variables that apply to all users?
rc.local
rc.sysinit
/etc/skel
/etc/profile
/etc/bashrc
Which statement describes the cron daemon?
Manages all incoming connections and spawns off child processes
Is responsible for file sharing across a network
Manages scheduling of routine system tasks
Manages the printing subsystem
Keeps track of system messages and errors
Which of the following are valid block devices on most default linux distributions?
loopback devices
serial ports
virtual terminals
tape devices
hard disks
How can you best see how much free space you have in your current directory?
Use df
Use df .
Use df /
Use du .
Use du /
Which command would you use to alter the permissions of a file (do not give any parameters)
Which command will update the slocate database as a background process?
updatedb &
slocate --start &
slocate --update &
slocate --updatedb &
slocatedb
Having booted into run level 3, how would you change to run level 5 without rebooting?
startx
run 5
ALT-F7-5
setinit 5
telinit 5
Wednesday, January 28, 2009
Where can Linux take you?
Subscribe to:
Post Comments (Atom)
Hi, I just wanted to let you know that I've been creating a list of Yuba-Sutter area blogs at http://yubasutter.wikispot.org/Blogs. I added yours to the list, but if for any reason you don't want it to be listed or you want it listed in a different way, feel free to edit the list. (It's a local wiki, so anyone can edit the page, with or without registering.)
ReplyDelete