Difference between revisions of "Introduction to Linux in HPC/System configuration files"
Introduction to Linux in HPC/System configuration files
Jump to navigation
Jump to search
m (Tweak page sorting and title) |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Tutorials]]<nowiki /> | + | [[Category:Tutorials|System Configuration Files (Linux)]]<nowiki /> |
− | {{DISPLAYTITLE: | + | {{DISPLAYTITLE:System Configuration Files (Linux)}}<nowiki /> |
{{Syllabus Introduction to Linux}}<nowiki /> | {{Syllabus Introduction to Linux}}<nowiki /> | ||
__TOC__ | __TOC__ | ||
− | This part of the Linux tutorial shows possibilies of system configuration a normal user can do without having | + | This part of the Linux tutorial shows possibilies of system configuration a normal user can do without having root access. Typical aspects in this context like reading system information files, defining aliases, adjusting configuration files and changing locales are taught in this lecture. |
=== Video === <!--T:5--> | === Video === <!--T:5--> | ||
Line 37: | Line 37: | ||
|type="()"} | |type="()"} | ||
+ <code>alias name='command'</code> | + <code>alias name='command'</code> | ||
− | || Explanation: An alias has always to be defined the following way: <code>alias name='command'</code>. Typical aliases are: alias ll='ls -l' and alias cd..='cd ..' | + | || Explanation: An alias has always to be defined the following way: <code>alias name='command'</code>. |
+ | ||Typical aliases are: <code>alias ll='ls -l'</code> and <code>alias cd..='cd ..'</code> | ||
+ | - <code>alias 'command'=name</code> | ||
+ | || | ||
+ | - <code>'command'=alias name</code> | ||
+ | </quiz> | ||
+ | {{hidden end}} | ||
+ | |||
+ | {{hidden begin | ||
+ | |title = 3. Console settings are... | ||
+ | }} | ||
+ | <quiz display=simple> | ||
+ | { | ||
+ | |type="()"} | ||
+ | + usually temporary but could be changed to permanent | ||
+ | || Explanation: Console settings are usually temporary, like environment variables, aliases etc. They disappear when you close the console or disconnect SSH. To make them permanent you have to put the settings to cofiguration files. These are specific files that are read when the console is started. | ||
+ | || | ||
+ | - always permanent | ||
|| | || | ||
− | - < | + | - usually permanent but could be changed to temporary |
+ | </quiz> | ||
+ | {{hidden end}} | ||
+ | |||
+ | |||
+ | {{hidden begin | ||
+ | |title = 4. What do locales contain? | ||
+ | }} | ||
+ | <quiz display=simple> | ||
+ | { | ||
+ | |type="()"} | ||
+ | - privacy settings | ||
+ | || | ||
+ | - network settings | ||
|| | || | ||
− | + | + language settings | |
+ | || A Locale is a place or locality, especially with reference to events or circumstances connected with it. Linux determines language and keyboard settings with locales. | ||
</quiz> | </quiz> | ||
{{hidden end}} | {{hidden end}} |
Latest revision as of 16:25, 4 December 2020
Tutorial | |
---|---|
Title: | Introduction to Linux in HPC |
Provider: | HPC.NRW
|
Contact: | tutorials@hpc.nrw |
Type: | Multi-part video |
Topic Area: | HPC Platforms |
License: | CC-BY-SA |
Syllabus
| |
1. Background and History | |
2. The Command Line | |
3. Linux Directory Structure | |
4. Files | |
5. Text display and search | |
6. Users and permissions | |
7. Processes | |
8. The vim text editor | |
9. Shell scripting | |
10. Environment variables | |
11. System configuration | |
12. SSH Connections | |
13. SSH: Graphics and File Transfer | |
14. Various tips |
This part of the Linux tutorial shows possibilies of system configuration a normal user can do without having root access. Typical aspects in this context like reading system information files, defining aliases, adjusting configuration files and changing locales are taught in this lecture.
Video
Quiz
1. In which system file could you find the CPU information of a Linux computer?
2. How is it possible to define aliases?
3. Console settings are...
4. What do locales contain?
Warning: | Be very careful, when editing configuration files. A faulty configuration file may prevent a user from login to computer |