Linux
1. Where does Linux temporarily stores programs and data when it does not have enough RAM to hold all the information it is processing?
Swap partition
2. Can Linux run on a 32 bit system? What are some of the system platforms that linux can run on?
Yes, i386/i686 x86_64, Mac
3. What is the minimum partition requirements for /root, tmp, and swap?
Root 1GB, tmp 500MB, swap 2-8 GB
4. What do use if you want to display a text file one screen at a time?
Use pagers; less utility and more utility
5. What utility makes a copy of a file? cp (copy) example $ cp memo memo.copy
6. What utility can rename a file without making a copy of it? mv (move) example $ mv memo memo.0130
7. What utility searches through one or more files to see whether any contain a specified string of characters? grep Example $ grep ‘credit’ memo
Discussed the issue of credit
8. What utility displays the last ten lines of a file? tail example $ tail –f logfile
9. What utility makes another directory the working directory; it does not change the contents of working directory. cd (change directory)
10. What is the pathname that starts with / and followed by the name of the file located in the root directory?
Absolute pathname
11. What command shows what directory you are working in? pwd 12. What permission do you need before you can execute a file? write 13. What utility allows you to change access permissions for a file? chmod 14. What symbol instructs the shell to redirect the output of a command to the specified file ?
Input (>) Command [arguments] > filename
15. What symbol instructs the shell to redirect a command’s input to come from the specified file instead of from the keyboard?
Output (<) command [arguments] < filename
16. What command symbol causes the shell to add new information to the end of file, leaving existing information intact.
Append output (>>)
17. What utility connects standard output of one command to standard input of another command?