Relative and Absolute Paths:
A relative path, starts from your working
●
directory.
Let's meet “.” and “..”
●
An absolute path, starts form the Root.
●
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!
●
Basic Permissions:
Users...
●
System users.
–
Normal users.
–
Groups....
●
System groups.
–
Um, just groups?
–
chown : change ownership of a file.
●
Basic Permissions, cont'd:
r : read :4
●
w : write : 2
●
x : execute : 1
●
chmod: change permissions of a file.
●
Mounting Partitions:
mount: mount a file system.
●
umount: unmount file systems.
●
ISO's ? disk images ? USB devices ?
●
Compress/Extract Files:
gzip : compress.
●
gunzip : extract.
●
bzip2 : compress.
●
bunzip2 : extract.
●
tar : does it all.
●
Redirection First:
stdin / 0
process
program stdout / 1
command
stderr / 2
Now, lets put in some pipes:
Command1 Command2 Command3
Filters:
sort
●
uniq
●
grep
●
head
●
tail
●
●
●
and the list goes on....
●
Questions?
I get to ask questions, too!
Where do you wanna go next?
0 comments
Post a comment