Introduction to Linux in HPC/System configuration files

From HPC Wiki
Introduction to Linux in HPC/System configuration files /
Revision as of 11:20, 2 October 2020 by Mukund-pondkule-6a11@uni-paderborn.de (talk | contribs) (Created page with "__TOC__ === Video === <!--T:5--> <youtube width="600" height="400" right>IfD9IPixgpo</youtube> [https://git-ce.rwth-aachen.de/hpc.nrw/ap2/tutorials/linux/-/blob/master/Slid...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Video

Linux Introduction Slides 119 - 128 (10 pages)


Slide Layout

   page 1: 
       Special files in /proc, e.g. /proc/cpuinfo and /proc/meminfo
       display with cat
       cannot be edited
   page 2: 
       environment variable PATH
       Directories are separated by :
       First command found will be used.
       PYTHONPATH
   page 3: 
       environment modules for cluster
       It becomes easier to switch environment.
   page 4: 
       environment modules: definition file for each module
       Example: load OpenMPI module
   page 5: 
       Three things for environment modules:
           description
           prepend to path and other variables
           set new variables
   page 6: 
       Alias for long command.
       How to define alias.
       Examples: alias ll='ls -l'
   page 7: 
       Environment variables and aliases settings in console are temporary.
       To make them permanent: write settings into configuration file.
   page 8: 
       Other configuration files, e.g. ~/.vimrc
       Breaking .bashrc can make it impossible to login.
       source <filename> to apply changes.
   page 9: 
       What is locale?
       the locale command
   page 10: 
       Example output of locale


Quiz

In which system file could you find the CPU information of a Linux computer?

/dev/cpuinfo
/sys/cpuinfo
/proc/cpuinfo


Info:  no tips in this section


Warning:  no warnings in this section


Note: Exercises in Terminal: no exercises in this section