Upload
charleen-kellie-powers
View
215
Download
0
Tags:
Embed Size (px)
Citation preview
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
Running a program in the Background
• When you run a command in the foreground, the shell waits for it to finish before giving you another prompt and allowing you to continue. When you run a command in the background, you do not have to wait for the command to finish before you start running another command.
• To run a command in the background, type and ampersand (&) just before the return.
• The shell assigns a job number and a pid
• Suspend a foreground job (control-z)
• fg – to bring a job to the foreground to receive input
• kill to abort a job in the background
Permissions
-rw-rw-r--
-rw-rw-r-- 1 dengle dengle 0 Sep 15 15:59 mydocumentdrwxrwxr-x 2 dengle dengle 4096 Sep 15 15:59 my-files
File Type
Owner
Group
Others
-rw-rw-r--
-rw-rw-r-- 1 dengle dengle 0 Sep 15 15:59 mydocumentdrwxrwxr-x 2 dengle dengle 4096 Sep 15 15:59 my-files
File Type
Owner
Group
Others
-rwx------ indicates a file that has read, write, and execute permissions for the owner only.
-r-xr-xr-x indicates a file that has read and execute permissions for the owner, group, or anyone else.
drwxr-x--x indicates a directory that allows read, write, and execute permission for the owner, read and execute for the group, and execute only for everyone else.
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2