File Handling
Checking Files Before Using Them FILE="config.yaml" if [ -f "$FILE" ]; then echo "Exists and is a regular file" fi [ …
Jan 20, 2026
Read more
Checking Files Before Using Them FILE="config.yaml" if [ -f "$FILE" ]; then echo "Exists and is a regular file" fi [ …
What Are Linux File Types? Linux recognizes seven file types, all visible through the first character of ls -l’s permission string. …
What Is a File, Really? On Linux, a filename is just a pointer (a directory entry) to an inode — a data structure holding the file’s …
Navigation pwd # print current working directory cd /var/log # change directory cd - # go back to previous directory cd ~ # go to home …