Download presentation
Presentation is loading. Please wait.
Published byElisabeth Smith Modified over 8 years ago
1
ICE UNIX TUTORIAL
2
File System Commands cd – change directory cd – change directory ls – list contents ls – list contents rm – remove/delete rm – remove/delete mv – move mv – move mkdir – make directory mkdir – make directory pwd – print working directory pwd – print working directory
3
Permissions chmod – change permissions chmod – change permissions chown – change owner chown – change owner File permissions – (-rwxrwxrwx) File permissions – (-rwxrwxrwx)
4
Editors vi vi pico pico nano nano emacs emacs
5
vi Working with files vi - open filename w – save w – save q – quit q – quit x – exit x – exit wq – save and quit wq – save and quit ! - force ! - force
6
vi yy – yank line (copy line) yy – yank line (copy line) dd – delete line (cut line) dd – delete line (cut line) p – put line (paste line) p – put line (paste line) gg – jump to top of file gg – jump to top of file G – jump to bottom of file G – jump to bottom of file $ - end of line $ - end of line
7
Web Server home/public_html – home home/public_html – home All web files must be in this directory All web files must be in this directory Sub directories can be used Sub directories can be used
8
Web Access Permissons All directories must have permission 701 All directories must have permission 701 i.e. chmod 701. (home directory) chmod 701 public_html chmod 701 chmod 701 All files must have permissions 644 All files must have permissions 644 i.echmod 644 i.echmod 644
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.