Linux tutorial for Beginners
Check your current working directory. -> To check the current directory, the command is ‘pwd’. List all the files and directories including hidden files. -> To check the current directory, the command is ‘ls -a’’. Create a nested directory. -> To check the current directory, the command is ‘mkdir -p A/B/C/D/E’’. NOTE - To make a subdirectory or more than 1 folder in a directory, we can run the following command - mkdir -p A/B{/C,/D}/E To view what's written in a file. -> We can use the "cat" command to see the content of a file. To change the access permission of files. -> The command "chmod" is used to change the permission of files which is followed by a numerical number, where 4 = Read, 2 = Write and 1 = Execute. To check which commands you have run till now. -> We use the "history" command to see all the previous commands we have run so far. To remove a directory/folder. -> To delete a directory, we use the "rm -r" c...