basic cli by m fawzy
TRANSCRIPT
Basic CLI
Basic CLI (Command Line Interface)
By: Mahmoud Fawzy
[email protected]@ymail.com (yahoo)
[email protected] (MSN)
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
Managing Files
List Files ls
Create file touch
Copy file cp
Move file mv
Delete file rm
Display file cat \ less \ more
ls
ls -l long listing
ls -d directories
ls -h human readable sizes
ls -a all files
ls -w wide listing
Managing Directories
List directories ls
Make directory mkdir
Change to directory cd
Move directory mv
Remove directory rmdir
Current directory pwd
Date and Time date
Calender cal
Manuals man
Information info
Interesting Commands !
Permissions
Why Permissions ?
User,Group,Other
Read,Write,Execute
Permissions symbolically
r read u user
w write g group
x execute o other
Permissions (cont.)
Yes 1 NO 0
Permissions (cont.)
Owner Group Others
R W XR W X R W X
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
Rooooooot access
What is root ??
Why is it disabled under ubuntu ??
How to get root access ??
Install From Teminal ....
sudo apt-get install
sudo apt-get autoremove
.....
Make (see example!)
Asking for HEEEEELP !
Nettiquette
Net + ettiquette
IRC
Google (your ultimate friend!)
Websites
egypt.ubuntuforums.com
eglug.com
linuxac.com
Open Discussion
Questions ??
Thank You !
Thanks and attribution !
Basic info and preparation:Bahaa Salama www.bahaa.bizwww.eglug.com
Questionmark image:Rugby471 (from www.wikipedia.org)