Linux files & text commands
Navigate, inspect, edit and organise server files with explicit paths and carefully scoped changes.
How do I check which directory I am in on a Linux server?
Find your current Linux server directory, distinguish absolute and relative paths, and navigate safely after connecting through SSH.
Read the answer Linux files & text commandsHow do I list hidden files, permissions and file sizes on a server?
Read Linux directory listings, including hidden files, owners, permissions and timestamps, without exposing file contents.
Read the answer Linux files & text commandsHow do I create a directory and nested folders on a Linux server?
Create a scoped directory tree on a Linux server, understand mkdir -p, and verify the resulting ownership and permissions.
Read the answer Linux files & text commandsHow do I copy or rename a selected Linux file without silently overwriting another?
Copy and rename a selected Linux file with overwrite prompts, explicit paths and verification of the final destination.
Read the answer Linux files & text commandsHow do I read a large server file without opening it in an editor?
Inspect large Linux text files with less, head and tail, navigate results, and avoid loading unnecessary content into your terminal.
Read the answer Linux files & text commandsHow do I search for a literal error message inside a Linux text file?
Search a specific Linux text file for an error string, include line numbers and context, and interpret grep exit results correctly.
Read the answer Linux files & text commandsHow do I find a server file by its name without searching the whole system?
Find Linux files by name and type within an authorised directory, using quoted patterns and a bounded search scope.
Read the answer Linux files & text commandsHow do I edit a text file over SSH using nano?
Edit an approved Linux text file in nano, save deliberately, and verify the result before reloading any application.
Read the answer Linux files & text commandsHow do I compare text files and check whether two downloads are identical?
Compare Linux text files with diff and verify file integrity with SHA-256 while understanding the limits of checksum trust.
Read the answer Linux files & text commandsHow do I remove one selected Linux file or an empty directory safely?
Remove one verified Linux file with an interactive prompt, or delete an empty directory without recursively removing its contents.
Read the answerNo matching question in this topic. Try a shorter phrase or search all server questions.
