Download presentation
Presentation is loading. Please wait.
Published bySydney Day Modified over 6 years ago
1
Advanced GNU/Linux Command Line By: - Mohammed El-Sayed
2
Flashback! File system hierarchy. File system navigation.
File and directory management. Getting help and information.
3
Now, let's talk about: Relative/Absolute paths. Finding stuff.
Basic Permissions. Mounting partitions..and more.. Compressing and Extracting files. Piping and Redirection. Filters.
4
Relative and Absolute Paths:
A relative path, starts from your working directory. Let's meet “.” and “..” An absolute path, starts form the Root.
5
Finding Stuff: which: shows the full path of (shell) commands.
whereis: locate the binary, source, and manual page files for a command. locate/updatedb: find files on your system quickly, but... find: find files, period!
6
Basic Permissions: Users... System users. Normal users. Groups....
System groups. Um, just groups? chown : change ownership of a file.
7
Basic Permissions, cont'd:
r : read : 4 w : write : 2 x : execute : 1 chmod: change permissions of a file.
8
Mounting Partitions: mount: mount a file system.
umount: unmount file systems. ISO's ? disk images ? USB devices ?
9
Compress/Extract Files:
gzip : compress. gunzip : extract. bzip2 : compress. bunzip2 : extract. tar : does it all.
10
Redirection First: stdin / 0 process program stdout / 1 command
stderr / 2
11
Now, lets put in some pipes:
Command1 Command2 Command3
12
Filters: sort uniq grep head tail and the list goes on....
13
Questions?
14
I get to ask questions, too!
Where do you wanna go next?
15
Thank You,, EGLUG Team http://eglug.org
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.