Linux is an operating system used worldwide. It is appropriate for both servers and desktops. It is preferred because viruses do not attack it. Once you have it, you can distribute or edit its source code. Although the software is very prominent, not many people know how to handle it. Most beginners find it troublesome and opt to use Windows operating system.
Linux has found its use mainly with programmers and system administrators. In addition, most professional recommend it for cyber café uses. This is due to its ability to resist virus. Linux runs many command that help in file management. These commands are very easy to master. To run these command you must be conversant with the Linux command shell.
Files and folders are the most you will encounter while working with Linux. Therefore, it is important to know how to maneuver around with them. It includes knowing how to create, delete, open, and move folders or files. Once you are conversant with working with files and folder you can easily use Linux for other purposes.
Below are tips that will help you work with files and folders in Linux platform.
- While working with files and folders in Linux you must know the basics of naming them. You can name you files with any characters from A to Z. However, you cannot user the special character (wild cards) such as the hush, brackets, hyphen and dollar sign or forward slash as part of you file name. This is because special characters are termed unique and have special meaning in Linux.
- Locating you files and folders is also very important. The command involved in locating files is print working directory (PWD). As the name suggests it shows you the directory of the folder you are currently working with. It prints out starting with the root directory then the folder in which you are working on. For example, /Dennis/mywork that means that, the folder /mywork/ is a subfolder of Dennis folder.
- Another thing you should know is navigating through different directories in Linux. Change directory (CD) command is the chief tool used. When used alone it takes you to the primary directory. You can also use it with other arguments. For instance, if you write CD/mywork you alter your present directory to mywork.
- You can view your files very easily in Linux. Concatenate (CAT) command will do the work for you. Apart from viewing files, it can also find its use in compiling them especially if they are numerous.
- How do you copy, delete or move files in Linux? Well this is simple in Linux. To copy your file or folders use the CP command. You must specify the file name and the target folder. To move your files or folders use the MV command. Just like the CP command, spell out the file name and the destination folder. The DEL command deletes any unwanted files that you state. For instance, if you want to delete the folder my work u simple write DEL /Dennis/mywork.