Posts

Showing posts from October 8, 2023

D03- Basic Commands in Linux

Image
 Why learn commands? We learn it because it makes file management in Linux easier. Commands are also referred to as "Programs" because whenever we run a command, its actually the corresponding program code we are writing. Basic Linux Commands: Listing Files- ( ls) it shows the files and directories in the current directory or in the directory where we are presently working. Listing all the files of a directory and their subdirectories- ( ls -R) this command not only the files in the directory but also their subdirectories. note that the command "ls-R" is case sensitive and if we write the letter r in a small case, "ls-r", it will throw an error. Listing all files- ( ls -al ) it gives us detailed information about the files. this command provides information in a tabular format. The detailed information includes permission, owner, groups, date and time, file sizes, etc. It also shows us the hidden files. Hidden items in Linux begin with the "." pe...