Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleAnswer

arcc-t05/workshop/data/2023/Jan/

image-20240522-181215.png

...

Commands:

...

Info

Commands are used to perform certain operating system tasks through the Command Line Interface, as directed by the interpreter (as opposed to a Graphical Interface Interpreter we would usually use).

Note

The next couple of parts list and briefly summarize the commands we will be covering within this section:

pwd, cd, ls, mkdir, mv, cp, rmdir and rm.

We will then follow up with examples on how to use them.

...

<command --help> 

Command

Description

pwd

Code Block
pwd: pwd [-LP]
Print the name of the current working directory.

cd

Code Block
cd: cd [-L|[-P [-e]] [-@]] [dir]
    Change the shell working directory.

ls

Code Block
Usage: ls [OPTION]... [FILE]...
List information about the FILEs (the current directory by default)

mkdir

Code Block
Usage: mkdir [OPTION]... DIRECTORY...
Create the DIRECTORY(ies), if they do not already exist.

mv

Code Block
Usage: mv [OPTION]... [-T] SOURCE DEST
  or:  mv [OPTION]... SOURCE... DIRECTORY
  or:  mv [OPTION]... -t DIRECTORY SOURCE...
Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY

...