Professional Documents
Culture Documents
Chapter 3 Assignment
Chapter 3 Assignment
1. What is the Linux command that will change the name or location of a file?
The “mv” command
3. Why are shells better suited than C programs for some tasks?
These shells are made specifically to work within a Linux system, so they are more efficient then writing programs in C or Java.
5. What command will change your shell? What command will allow you to see all the shells available? In which directory are
shells stored?
‘chsh’ to change your shell then ‘more /etc/shells’ to see what shells are available
1) terminate a process ^C
3) suspend a process ^Z
4) kill a process ^U
Edit the .bashrc file by typing nano .bashrc to change your shell prompt permanetly.
9. Using octal numbers, what is the command to change a directories permissions for all of the files in the directory that will
give the user read, write and execute permissions, the group read permission and others execute permission?
chmod 741 filename.txt
10. In a bash shell, how can you manually set the terminal to xterm?