Professional Documents
Culture Documents
-manages hardware -runs applications -manages software resources of the system - set of functions which may use to perform specific tasks - facilitate networking, and manage files
What is the difference between a process and a program?
Program is a binary which can be executed. A process is a running instance of the program.
What is the UNIX / Linux philosophy?
The Unix philosophy emphasizes building short, simple, clear, modular, and extendable code that can be easily maintained and repurposed by developers other than its creators.
What Linux command do you use to change the name or location of a file?
Shell scripts faster to write on command line. Shell dont require compilation the way a C program does. Shell script usually easier and faster to write.
What command will allow you to see your shell environment?
What command will change your shell? What command will allow you to see all the shells available? In which directory are shells stored? cshs for change shell cat etc/shells/ see avaliable shells etc directory that shells stored
What command will display all of the meta-characters? What meta-character will clear the screen? What meta-character will kill a process?
touch filename or cat > newfile.txt or echo this will appear in file > filename To change files name: mv oldfilename newfilename
In a bash shell, which command will change your shell prompt? Still in the bash shell, what file would you edit to permanently change your shell prompt?
a) PS1="[\u@\h:\W, \@, \d]> " #custom prompt options b) To change your prompt when using bash, we edit ~/.bashrc file
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?