Feb 19, 2006 12:25
Well we have started the new Linux class. Things are going quite well, his first little quiz had my brain working:
Short answer and true/false
1. Give a command for writing a long directory listing to a file called files.txt.
ls -l>files.txt
2. Linux uses a micro kernel, rather than a monolithic kernel, unlike some other operating systems. True or false?
False.
3. What command would you use to change your password in Linux?
passwd
passwd
4. Software licensed under the GPL is “free” and therefore considered to be in the public domain. True or false?
True
5. Give a command for logging into an account named newbie on a remote system called tangerine using Secure Shell.
ssh newbie@tangerine
6. What command would you use to find information on a rarely used option for ls on a Linux system?
ls --help
man ls
7. In what directory are the programs for most essential Linux commands stored?
/usr/bin
8. Give a command for starting the emacs program in the background.
emacs&
9. Give two different commands for putting a background process with job number 1 and process ID 25697 into the foreground.
fg 1 && fg 25697
10. Give a command that will terminate a background process with job number 2. Bonus point: Structure the command so that the process cannot handle (ignore) the termination.
kill -9 2
Short definitions
1. Kernel
The brain of the entire Linux OS.
2. Shell
How the user can interact with the kernel.
3. Open Source
Software that is modifiable by a community. Code can be viewed, modified and redistributed.
I now have to go write a 3 page paper on how I would go about setting up a server in a home office/small office environment. FUN! :D
shells,
commands,
ssh,
quiz,
linux