Cli2 Bibalex

586 views

Published on

The second CLI session made by eglug in bibalex

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
586
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cli2 Bibalex

  1. 1. Advanced GNU/Linux Command Line By: - Mohammed El-Sayed
  2. 2. Flashback! File system hierarchy. ● File system navigation. ● File and directory management. ● Getting help and information. ●
  3. 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. 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. 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. 6. Basic Permissions: Users... ● System users. – Normal users. – Groups.... ● System groups. – Um, just groups? – chown : change ownership of a file. ●
  7. 7. Basic Permissions, cont'd: r : read :4 ● w : write : 2 ● x : execute : 1 ● chmod: change permissions of a file. ●
  8. 8. Mounting Partitions: mount: mount a file system. ● umount: unmount file systems. ● ISO's ? disk images ? USB devices ? ●
  9. 9. Compress/Extract Files: gzip : compress. ● gunzip : extract. ● bzip2 : compress. ● bunzip2 : extract. ● tar : does it all. ●
  10. 10. Redirection First: stdin / 0 process program stdout / 1 command stderr / 2
  11. 11. Now, lets put in some pipes: Command1 Command2 Command3
  12. 12. Filters: sort ● uniq ● grep ● head ● tail ● ● ● and the list goes on.... ●
  13. 13. Questions?
  14. 14. I get to ask questions, too! Where do you wanna go next?
  15. 15. Thank You,, EGLUG Team http://eglug.org

×