19.03.2015 Views

Unix Tutorial

test

test

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Renaming Directories: .............................................................................. 25<br />

The directories . (dot) and .. (dot dot) ....................................................... 25<br />

<strong>Unix</strong> File Permission Setup .................................................... 26<br />

The Permission Indicators: ....................................................................... 26<br />

File Access Modes: .................................................................................. 26<br />

1. Read: .................................................................................................... 26<br />

2. Write: .................................................................................................... 27<br />

3. Execute: ............................................................................................... 27<br />

Directory Access Modes: .......................................................................... 27<br />

1. Read: .................................................................................................... 27<br />

2. Write: .................................................................................................... 27<br />

3. Execute: ............................................................................................... 27<br />

Changing Permissions: ............................................................................ 27<br />

Using chmod in Symbolic Mode: .............................................................. 27<br />

Using chmod with Absolute Permissions: ................................................. 28<br />

Changing Owners and Groups: ................................................................ 28<br />

Changing Ownership: ............................................................................... 29<br />

Changing Group Ownership: .................................................................... 29<br />

SUID and SGID File Permission: ............................................................. 29<br />

<strong>Unix</strong> Environment ................................................................... 31<br />

The .profile File: ....................................................................................... 32<br />

Setting the Terminal Type: ....................................................................... 32<br />

Setting the PATH: .................................................................................... 32<br />

PS1 and PS2 Variables: ........................................................................... 33<br />

Environment Variables: ............................................................................ 34<br />

Java Basic Utilities ................................................................. 36<br />

Printing Files: ........................................................................................... 36<br />

The pr Command: .................................................................................... 36<br />

The lp and lpr Commands: ....................................................................... 37<br />

The lpstat and lpq Commands: ................................................................ 37<br />

The cancel and lprm Commands: ............................................................ 38<br />

Sending Email: ......................................................................................... 38<br />

<strong>Unix</strong> Pipes and Filters ............................................................ 40<br />

The grep Command: ................................................................................ 40<br />

The sort Command: ................................................................................. 41<br />

The pg and more Commands: .................................................................. 42<br />

<strong>Unix</strong> Processes Management ................................................ 43<br />

Starting a Process: ................................................................................... 43<br />

Foreground Processes: ............................................................................ 43<br />

TUTORIALS POINT<br />

Simply Easy Learning

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!