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
Next Steps on using Linux:
Practicing using Linux online.
Dual boot a Windows machine with Linux.
Run a container image.
UW Researcher? Create a project on the Cluster with your PI.
Request an Account with ARCC
Summary
Prev | Workshop Home |
|
Use the following link to provide feedback on this training: https://forms.gle/6hRPPabA87CWncEu8 or use the QR code below.