January 7, 201412 yr Here are some quick commands to help you navigate around the unix/linux filesystem ls (same as dir on windows) The ls command is used to list the contents of a directory. It is probably the most commonly used Linux command. It can be used in a number of different ways. Here are some examples: less less is a program that lets you view text files. This is very handy since many of the files used to control and configure Linux are human readable. file As you wander around your Linux system, it is helpful to determine what kind of data a file contains before you try to view it. This is where the file command comes in. file will examine a file and tell you what kind of file it is. To use the file program, just type: file name_of_file The file program can recognize most types of files, such as:
Create an account or sign in to comment