Member-only story

Tips and Tricks for Organizing Your Linux Files

From Chaos to Order: File Organization on Linux for Improved Productivity

Mwiza Kumwenda
5 min readOct 30, 2023
Photo by Patrick Tomasso on Unsplash

On Linux, a file does not only refer to regular files but also to directories, pipes, network sockets, devices, etc. Actually, the term “Everything is a file” is a common principle on Linux. Left unchecked, files can clutter your system and reduce productivity.

To improve your workflow and make it easy to navigate your PC it is important to organize your files properly.

Give Meaningful Names

Give your files and directories descriptive and meaningful names that reflect the content or purpose. This makes it easier to guess the folder or file content later on.

Remember that Linux is case-sensitive so the directories Folder1 and folder1 are different even though they have the same name.

Avoid using space and special characters. The use of spaces in folders or filenames can cause issues with scripts or when working with the command line. Instead, use a hyphen (-) or an underscore (_) to separate words within a name.

Personally, I use the snake_case for all my filenames. It uses all lowercase and words separated by an underscore. For example, a job application letter will have the…

--

--

Mwiza Kumwenda
Mwiza Kumwenda

No responses yet