basic cli by m fawzy

17

Click here to load reader

Upload: mahmoud-fawzy

Post on 29-Jan-2018

693 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Basic Cli By M Fawzy

Basic CLI

Basic CLI (Command Line Interface)

By: Mahmoud Fawzy

[email protected]@ymail.com (yahoo)

[email protected] (MSN)

Page 2: Basic Cli By M Fawzy

Why bother ?!

More powerful

Better performance (Consumes less resources)

“ A child, you use a computer by looking at the pictures. When he grow up, you learn to read and write.”

William Shotts, Jr

Page 3: Basic Cli By M Fawzy

Managing Files

List Files ls

Create file touch

Copy file cp

Move file mv

Delete file rm

Display file cat \ less \ more

Page 4: Basic Cli By M Fawzy

ls

ls -l long listing

ls -d directories

ls -h human readable sizes

ls -a all files

ls -w wide listing

Page 5: Basic Cli By M Fawzy

Managing Directories

List directories ls

Make directory mkdir

Change to directory cd

Move directory mv

Remove directory rmdir

Current directory pwd

Page 6: Basic Cli By M Fawzy

Date and Time date

Calender cal

Manuals man

Information info

Interesting Commands !

Page 7: Basic Cli By M Fawzy

Permissions

Why Permissions ?

User,Group,Other

Read,Write,Execute

Permissions symbolically

r read u user

w write g group

x execute o other

Page 8: Basic Cli By M Fawzy

Permissions (cont.)

Yes 1 NO 0

Page 9: Basic Cli By M Fawzy

Permissions (cont.)

Owner Group Others

R W XR W X R W X

Page 10: Basic Cli By M Fawzy

Permissions numerically (in other words)

7 rwx 3 -wx

6 rw- 2 -w-

5 r-x 1 --x

4 r-- 0 ---

Change user chown

Change group chgrp

Change permissions chmod

Page 11: Basic Cli By M Fawzy

Rooooooot access

What is root ??

Why is it disabled under ubuntu ??

How to get root access ??

Page 12: Basic Cli By M Fawzy

Install From Teminal ....

sudo apt-get install

sudo apt-get autoremove

.....

Make (see example!)

Page 13: Basic Cli By M Fawzy

Asking for HEEEEELP !

Nettiquette

Net + ettiquette

IRC

Google (your ultimate friend!)

Websites

egypt.ubuntuforums.com

eglug.com

linuxac.com

Page 14: Basic Cli By M Fawzy

Open Discussion

Page 15: Basic Cli By M Fawzy

Questions ??

Page 16: Basic Cli By M Fawzy

Thank You !

Page 17: Basic Cli By M Fawzy

Thanks and attribution !

Basic info and preparation:Bahaa Salama www.bahaa.bizwww.eglug.com

Questionmark image:Rugby471 (from www.wikipedia.org)