What are some useful commands that i can use in Linux?

Closed
Filip-Wi Posts 1 Registration date Sunday 26 July 2020 Status Member Last seen 26 January 2021 - 18 Oct 2020 à 05:37
HelpiOS Posts 15569 Registration date Friday 30 October 2015 Status Moderator Last seen 2 July 2026 - 18 Oct 2020 à 18:04
I want to learn some useful commands for Linux.
Related:

1 response

HelpiOS Posts 15569 Registration date Friday 30 October 2015 Status Moderator Last seen 2 July 2026 1,880
18 Oct 2020 à 18:04
Hi,

Depending on what you are looking to run as a task, there are many commands that you can use on Linux. Here are some useful commands that you can use with Terminal:
  • cd: go to a directory. (e.g. If you want to go to the "Documents" folder, type
    cd Documents
    ).
  • mkdir: create a directory. Here is the syntax:
    mkdir Directory\Name
    . Use
    \
    to add spaces.
  • rmdir: delete an empty directory.
  • rm: delete files and directories containing files.
  • touch: create a file. (e.g.
    touch newfile.txt
    ).
  • locate: this command is used to locate a file.
  • cat: display the content of a file.
  • man: show the manual page of a command.
  • –help: get help with a command (e.g.
    cd -help
    ).