/
Intro to Linux Command-Line: Intermediate Features and Summary

Intro to Linux Command-Line: Intermediate Features and Summary

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



More Intermediate Features

  • 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

  • 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


Request an Account with ARCC

image-20240522-200611.png

Summary


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

Intro to Linux VFS.png

 

 

Related content

Intro to Linux Command-Line: Summary
Intro to Linux Command-Line: Summary
More like this
Intro to Linux Command-Line: The File System
Intro to Linux Command-Line: The File System
More like this
Intro to Text Editors in Linux
Intro to Text Editors in Linux
More like this
Output Redirection and Pipes
Output Redirection and Pipes
Read with this
Getting Started with Linux
Getting Started with Linux
More like this
Search for a File
Search for a File
Read with this