Difference between revisions of "Introduction to Linux in HPC/Various tips"

From HPC Wiki
Introduction to Linux in HPC/Various tips
Jump to navigation Jump to search
Line 4: Line 4:
  
 
<youtube width="600" height="400" right>IfD9IPixgpo</youtube>
 
<youtube width="600" height="400" right>IfD9IPixgpo</youtube>
 
[https://git-ce.rwth-aachen.de/hpc.nrw/ap2/tutorials/linux/-/blob/master/Slides/Linux_Intro/Linux_Intro.pdf Linux Introduction]  Slides 130 - 136 (7 pages)
 
 
 
=== Slide Layout === <!--T:5-->
 
 
 
 
 
 
    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
 
 
  
  

Revision as of 11:42, 5 October 2020

Video


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.