linux-survival
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux-survival [2023/03/27 15:29] – [The Linux terminal] ayan | linux-survival [2024/01/16 15:00] (current) – [Linux basics] jonas | ||
---|---|---|---|
Line 11: | Line 11: | ||
Linux was initially created as a hobby project by the Finnish software engineer Linus Torvalds in 1991. The name Linux is a portmanteau of his first name and Unix, the OS from which Linux is derived (in fact, Linux is a version of Unix). **Very important note:** Linux is pronounced as in Finnish Swedish (Linus Torvalds being part of the Swedish-speaking minority in Finland), with a long i as in " | Linux was initially created as a hobby project by the Finnish software engineer Linus Torvalds in 1991. The name Linux is a portmanteau of his first name and Unix, the OS from which Linux is derived (in fact, Linux is a version of Unix). **Very important note:** Linux is pronounced as in Finnish Swedish (Linus Torvalds being part of the Swedish-speaking minority in Finland), with a long i as in " | ||
- | Unlike Windows or MacOS, there are many varieties of Linux, so-called distributions, | + | Unlike Windows or MacOS, there are many varieties of Linux, so-called distributions, |
===== Logging in to a remote Linux server ===== | ===== Logging in to a remote Linux server ===== | ||
Line 38: | Line 38: | ||
- | ***//The shell//**: | + | ***//The shell//** |
- | The shell is a program that takes commands from the keyboard and gives them to the operating system to perform. | + | The shell is a program that takes commands from the keyboard and gives them to the operating system to perform. |
- | On most Linux systems a program called bash (which stands for Bourne Again SHell, an enhanced version of the original Unix shell program, sh, written by Steve Bourne) acts as the shell program. Besides bash, there are other shell programs available for Linux systems. These include: ksh, tcsh and zsh. | + | On most Linux systems a program called |
- | bash, sh, csh | + | On the psycomp server, we will use **bash** commands. |
+ | ***// | ||
+ | In order to run **bash** commands, a particular tool called //Terminal Emulator// is used. On a Linux and Mac-OS systems a widely used Terminal Emulator program is called **Terminal**. Psycomp server also has **Terminal** program that can be accessed under the Applications tab. | ||
- | **// | ||
- | *Writing a shell script | + | ***// |
- | | + | |
+ | *Writing a shell script | ||
+ | *Navigating the file system | ||
- | ===== The Linux file system ===== | ||
- | **// The home directory: | ||
- | **// The root directory: //**/ | + | ===== Essential commands ===== |
- | **//System directories: | + | **//Finding where you are //** pwd |
+ | |||
+ | After logging in the psycomp server either through the command line interface or through GUI, it will be important to know which location you areon the computer. | ||
- | **// | ||
- | **//File permissions //** | ||
- | **// Recursive commands //** | ||
- | ===== Essential commands ===== | ||
- | **//Finding where you are //** pwd | ||
**//List files://** ls | **//List files://** ls | ||
Line 97: | Line 94: | ||
**// Getting help: //** man | **// Getting help: //** man | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== The Linux file system ===== | ||
+ | |||
+ | **// The home directory: | ||
+ | |||
+ | **// The root directory: //**/ | ||
+ | |||
+ | **//System directories: | ||
+ | |||
+ | **// | ||
+ | |||
+ | **//File permissions //** | ||
+ | |||
+ | **// Recursive commands //** |
linux-survival.1679930957.txt.gz · Last modified: 2023/03/27 15:29 by ayan