linux_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
linux_notes [2024/10/05 23:59] – [tput: unknown terminal "xterm-256color"] raju | linux_notes [2024/11/04 16:23] (current) – [Why is the shell called as such?] raju | ||
---|---|---|---|
Line 120: | Line 120: | ||
From https:// | From https:// | ||
> The shell is Unix's interpreter for the commands you type in; it's called a shell because it wraps around and hides the operating system kernel. It's an important feature of Unix that the shell and kernel are separate programs communicating through a small set of system calls. This makes it possible for there to be multiple shells, suiting different tastes in interfaces. | > The shell is Unix's interpreter for the commands you type in; it's called a shell because it wraps around and hides the operating system kernel. It's an important feature of Unix that the shell and kernel are separate programs communicating through a small set of system calls. This makes it possible for there to be multiple shells, suiting different tastes in interfaces. | ||
+ | |||
+ | ===== Tips ===== | ||
+ | |||
+ | ==== cat show filename ==== | ||
+ | Use "tail -n +1" to show the filename when displaying its contents. For example | ||
+ | < | ||
+ | tail -n +1 file1.txt file2.txt file3.txt | ||
+ | </ | ||
+ | |||
+ | Ouptut: | ||
+ | < | ||
+ | ==> file1.txt <== | ||
+ | < | ||
+ | |||
+ | ==> file2.txt <== | ||
+ | < | ||
+ | |||
+ | ==> file3.txt <== | ||
+ | < | ||
+ | </ | ||
linux_notes.txt · Last modified: 2024/11/04 16:23 by raju