Wednesday, July 31, 2019

Linux Filesystems basic

Linux

Linux knowledge base according to J. Based on a true story.

Once upon a time, on a beautiful day in Fedora, peacefully sitting in class, J opened his Linux book and was suddenly absorbed with the passion. This story started like this...


Linux Filesystems basic

/

ls /

bin  boot  dev  etc  home  lib  lib64  lost+found  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var


pwd (print working directory)

/root

Navigation
cd /home (change direectory)
cd ~ (current user's home directory)
cd ~user1 (user1 home directory)
cd ../ (navigate to parent directory)

Tab completion -completes word when unique

File types:

Text (contain information, configuration information)
Binary (program files on hard disk then executed in memory)
Executable
Directory (placeholder)
Linked files (shortcut)
Special device files (mostly in /dev such as hard disks and serial ports)
Named pipes and sockets (passes information from one process to another)
Sockets (allows a process on another computer to write to a file on the local computer while another process reads from that file)


Filenames
p.129

No comments:

Post a Comment

Featured Posts

Exchange Online Limits - Office 365 Distribution group limits

Exchange Online Limits - Office 365 Distribution group limits What are Exchange Online Limits What are Office 365 Distribution group limi...