Versions Compared

Key

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

Goal: A quick review and suggestion of other commands and areas of Linux to explore further after this workshop that you’ll find useful.

...

Table of Contents
minLevel1
maxLevel1
outlinefalse
stylenone
typelist
printabletrue

...

More Intermediate Features

Info
  • Environment Variables: Define the behavior of the environment: Try:

    • echo $HOME

    • echo $USER

    • echo $SHELL

    • echo $PATH

  • File searching/manipulation

    • sed: stream editor for filtering and transforming text

      • $ sed 's/windows/linux/2' fav_os.txt

      • Above command would substitute the 2nd instance of string ‘windows’ in each line of the fav_os.txt file with string ‘linux’, but leave the any following instances of ‘windows’ alone in the file.

    • gawk: pattern scanning and processing language

      • Scan specifying field separators, assign variables, specif source type, etc.

  • Ability to update file permission and ownership: chmod/chown

    • User-case of sharing files/folders.

...

More Intermediate Features

Info
  • Aliases in .bashrc.

    • Create short-cuts of popular/frequently used commands.

  • Text editors: vi/vim/nano

    • vimtutor

    • touch

  • Remote access with ssh.

...

Next Steps, Suggestions

Info

...

  • Cluster with your PI.

...

Request an Account with ARCC

...

Info

...

Summary

In this workshop we have:

  • How to search for a string within a file.

  • How to find a file.

  • How to redirect the output of a command into a file.

  • How to use pipes to direct the output of one command as the input into another command.

 

Next Steps

...

Use the following link to provide feedback on this training: https://forms.gle/6hRPPabA87CWncEu8 or use the QR code below.

...