a practical guide to red hat ® linux ®, third edition. © 2007 mark g. sobell, prentice hall,...
TRANSCRIPT
![Page 1: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/1.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 2: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/2.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 3: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/3.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 4: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/4.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 5: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/5.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 6: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/6.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 7: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/7.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 8: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/8.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 9: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/9.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 10: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/10.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 11: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/11.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2
![Page 12: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/12.jpg)
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.
![Page 13: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/13.jpg)
• To run a command in the background, type and ampersand (&) just before the return.
• The shell assigns a job number and a pid
![Page 14: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/14.jpg)
• 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
![Page 15: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/15.jpg)
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.
![Page 16: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2](https://reader036.vdocument.in/reader036/viewer/2022062515/56649d005503460f949d2da7/html5/thumbnails/16.jpg)
A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2