Site Tools


marc:linux:rhcsa8_uittreksel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
marc:linux:rhcsa8_uittreksel [2021/11/30 20:57] – [Setting up a rhel server:] marcvmarc:linux:rhcsa8_uittreksel [2021/12/02 21:49] (current) – [FHS; File Hierarchy Standard:] marcv
Line 118: Line 118:
 echo $PWD echo $PWD
 EOF</code> EOF</code>
 +
 +**The double "<<" is necessary! It does not matter if you use EOF, eof or any other string for closing**
  
 The print.sh file now contains: The print.sh file now contains:
Line 261: Line 263:
   * pwd   * pwd
   * whoami   * whoami
-  * ls +  * ls (-l) 
-  * +  * ip addr show 
 +  * free (-m) 
 +  * df (-h) 
 +  * cat //file// 
 +  * findmnt 
 + 
 +===== Understanding the shell: ===== 
 +  * tab completion 
 +  * history 
 +  * piping 
 +  * redirectorion 
 +  * environment variables: ''env | less'' will show you all environment variables 
 +  * aliases: ''alias upgrade='sudo apt update && sudo apt upgrade -y''' 
 + 
 +===== FHS; File Hierarchy Standard: ===== 
 + 
 +  * Maintained by the Linux Foundation 
 +  * Starting point is root directory: / 
 +  * The directory location does not say anything about the location and/or device; various drives/partitions can be mounted into the directory structure. 
 +  * Some important directories: 
 +    * /boot: contains everything needed to boot the system:<code>-rw-r--r-- 1 root root   237884 okt 15 19:56 config-5.4.0-90-generic 
 +-rw-r--r-- 1 root root   237884 nov  5 17:02 config-5.4.0-91-generic 
 +drwx------ 2 root root     4096 jan  1  1970 efi 
 +drwxr-xr-x 4 root root     4096 dec  1 13:46 grub 
 +lrwxrwxrwx 1 root root       27 nov 30 06:55 initrd.img -> initrd.img-5.4.0-91-generic 
 +-rw-r--r-- 1 root root 52057331 nov 23 08:05 initrd.img-5.4.0-90-generic 
 +-rw-r--r-- 1 root root 52057689 nov 30 06:56 initrd.img-5.4.0-91-generic 
 +lrwxrwxrwx 1 root root       27 nov 30 06:55 initrd.img.old -> initrd.img-5.4.0-90-generic 
 +-rw-r--r-- 1 root root   182704 aug 18  2020 memtest86+.bin 
 +-rw-r--r-- 1 root root   184380 aug 18  2020 memtest86+.elf 
 +-rw-r--r-- 1 root root   184884 aug 18  2020 memtest86+_multiboot.bin 
 +-rw------- 1 root root  4755119 okt 15 19:56 System.map-5.4.0-90-generic 
 +-rw------- 1 root root  4755132 nov  5 17:02 System.map-5.4.0-91-generic 
 +lrwxrwxrwx 1 root root       24 nov 30 06:55 vmlinuz -> vmlinuz-5.4.0-91-generic (KERNEL) 
 +-rw------- 1 root root 11780352 okt 15 21:36 vmlinuz-5.4.0-90-generic (KERNEL) 
 +-rw------- 1 root root 11784448 nov  5 17:04 vmlinuz-5.4.0-91-generic (KERNEL) 
 +lrwxrwxrwx 1 root root       24 nov 30 06:55 vmlinuz.old -> vmlinuz-5.4.0-90-generic (KERNEL)</code> 
 +    * /dev: contains devices (harddrives, stdin, stdout, null, tty's, etc) 
 +    * /etc: contains configuration files 
 +    * /home: contains the homedirectories for normal users 
 +    * /usr: compares to "Program Files" on Windows; containing the binary files: 
 +      * /usr/bin containing binaries for everybody  
 +      * /usr/sbin containing system binaries that only root can use 
 +    * /var: for variable files (websites, printerspool, logfiles, etc) 
 +    * see ''man hier'' for more info! 
 + 
 +01-02-6
marc/linux/rhcsa8_uittreksel.1638302231.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki