Introduction to Linux in HPC/Various tips

From HPC Wiki
Introduction to Linux in HPC/Various tips /
Jump to navigation Jump to search

Video

Linux Introduction Slides 130 - 136 (7 pages)


Slide Layout

   page 1: 
       Please make backups regularly!
   page 2: 
       du command
       df command
   page 3: 
       history command
       the ~/.bash_history file
   page 4: 
       ln command and syntax
   page 5: 
       watch command and the usage
   page 6: 
       $(( )) as integer calculator
   page 7: 60 sec
       very brief into to sed
       just mention awk


Quiz

How will you find a specific command in history ? HINT: use grep with history, how to use it?

Click and submit to see the answer

How can you compare two files and display a list of the difference? HINT: man diff

Click and submit to see the answer


Info:  Please make backups regularly!


Warning:  Please make backups regularly!


Exercises in Terminal (slide 137)

1. Find out the number of CPUs and amount of memory you have.
2. Permanently change your vim color scheme.