16
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

Embed Size (px)

Citation preview

Page 1: 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

Page 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

Page 3: 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

Page 4: 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

Page 5: 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

Page 6: 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

Page 7: 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

Page 8: 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

Page 9: 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

Page 10: 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

Page 11: 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

Page 12: 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.

Page 13: A Practical Guide to Red Hat ® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2

• 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

• 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

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

A Practical Guide to Red Hat® Linux ®, Third Edition. © 2007 Mark G. Sobell, Prentice Hall, 0-13-228027-2