Files

4 articles
Interview Preparation Intermediate

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
Interview Preparation Beginner

Linux File Types

What Are Linux File Types? Linux recognizes seven file types, all visible through the first character of ls -l’s permission string. …

Jan 20, 2026 Read more
Interview Preparation Beginner

Files & Directories

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 …

Jan 20, 2026 Read more
Interview Preparation Beginner

File & Directory Commands

Navigation pwd # print current working directory cd /var/log # change directory cd - # go back to previous directory cd ~ # go to home …

Jan 20, 2026 Read more