cross-posted from: https://lemmy.nz/post/29912814

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 10 months ago* (last edited 10 months ago)

Yeah, once you get the basics of BASH down Linux becomes really easy.

Open up your Console/Shell/Terminal and type “help” it will give you the list of standard commands that let you navigate the shell.

  • cd = change directory
  • mkdir = make directory
  • nano = edit file
  • rm = remove file
  • rmdir = remove directory
  • sudo = run command as administrator/root privileges

And once you get that going you’ll eventually get the options for each command, for example rm -rf is remove a file forcefully (the -f option), if you apply that command to directories it will remove anything within those directories with recursion (the -r option).

You also don’t need to cd into a directory if you want to edit a file in it. For example nano /home/user/Desktop/SomeRandomFile.conf

  • source
  • parent