Basic Linux Commands for day to day life
This article will explore the basic Linux commands and how to use them.
1. ls: How would we know what a folder contains? With a graphical interface, you’d do this by opening a folder and inspecting its contents. From the command line, you use the command ls instead to list a folder’s contents.
By default, ls will use a very compact output format. Many terminals show the files and subdirectories in different colors that represent different file types. Regular files don’t have special coloring applied to their names. Some file types, like JPEG or PNG images, or tar and ZIP files, are usually colored differently, and the same is true for programs that you can run and for directories. Try ls for yourself and compare the icons and emblems your graphical file manager uses with the colors that ls applies on the command line. If the output isn’t colored, you can call ls with the option –color:
$ ls --color
2. man: You can learn about options and arguments to be used in any command in Linux. man(man is short for manual) is used to give a description of any Linux command like this: