Versions Compared

Key

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

...

  • What the file system is, and a typical organization / hierarchy.

  • Some high-level comparison to that of Windows.

  • Absolute vs relative paths.

  • Commands: pwd, cd, ls, mv, cp, mkdir, rmdir, rm

  • History: history

  • File Ownership and Permissions.

...

Note
  • Within this and following sections, we have tried to make the descriptions and examples generic.

  • If you are following along as part of a scheduled training or bootcamp, where you see <project-name> replace this with the project name being used for the workshop (which changes) and <username> with your username.

  • Also, the hostname that you might see might change depending on the cluster you’re using.

  • If you are training independently, please use your own project folder, but contact arcc-help@uwyo.edu if you would like a copy of the files and directories used in our examples.

...

Table of Contents
minLevel1
maxLevel1
outlinefalse
stylenone
typelist
printabletrue

...

Ex: Starting at / (root), what is the absolute path to the bits folder?

...

Answer:

Expand
titleAnswer

/usr/include/bits/

image-20240522-181112.pngImage Removed

...

what is the

...

absolute path to the

...

bits folder?

...

Answer:

Expand
titleAnswer

arcc-t05 /workshopusr/datainclude/2023/Janbits/

image-20240522-181215.pngImage Removed
Panel
panelIconId1f642
panelIcon:slight_smile:
panelIconText🙂
bgColor#FFEBE6
If you are following along as part of a scheduled training or bootcamp, please replace the <project-name> directory with the project directory you’ve been provided for your specific training/bootcamp. If you are training independently, please use your own project folder, but contact arcc-help@uwyo.edu if you would like a copy of the files and directories used in our examples. image-20240522-181112.pngImage Added

...

Ex: Starting in the home folder what is the relative path to the Jan folder?

...

Answer:

Expand
titleAnswer

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

image-20240522-181215.pngImage Added

...

Commands:

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).

...

Code Block
[<username>@blog1 ~]$ !223
ls
Desktop  Documents  Downloads

...

Exercises: Navigation

Info

Questions:

  1. How can you return to your home folder?

  2. What command do you use if you’ve forgotten where you are in the folder hierarchy?

  3. How can you list what is in a folder as well as any subfolders?

  4. Go back through the command related slides are try for yourself.

...

Note

Only user <arcc-usernameusername> can read/write this file. No one else, not even anyone within the <project-name> group, can view this file.

...

Exercises:

...

Permissions

Info

Questions: In all cases be able to justify your answer.

  1. Can you create a folder under /project/<project-name>/username>/?

  2. Can you /project/<project-name>/intro_to_linux/ and view workshop_all.txt?

  3. Can you /project/<project-name>/intro_to_linux/ and view workshop_me.txt?

  4. Can you cd into the /opt folder?

  5. Can you cd into the /root folder?

...