-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands_to_know.txt
43 lines (37 loc) · 2.19 KB
/
commands_to_know.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
sort - Sorts standard input then outputs the sorted result on standard output.
uniq - Given a sorted stream of data from standard input, it removes duplicate lines of data (i.e., it makes sure that every line is unique).
grep - Examines each line of data it receives from standard input and outputs every line that contains a specified pattern of characters.
fmt - Reads text from standard input, then outputs formatted text on standard output.
pr - Takes text input from standard input and splits the data into pages with page breaks, headers and footers in preparation for printing.
head - Outputs the first few lines of its input. Useful for getting the header of a file.
tail - Outputs the last few lines of its input. Useful for things like getting the most recent entries from a log file.
tr - Translates characters. Can be used to perform tasks such as upper/lowercase conversions or changing line termination characters from one type to another (for example, converting DOS text files into Unix style text files).
sed - Stream editor. Can perform more sophisticated text translations than tr.
awk - An entire programming language designed for constructing filters. Extremely powerful.
echo $PS1
${debian_chroot:+($debian_chroot)}\u@\h:\w\$
Setup for lxde key bindings (and many other things):
/home/ran/.config/openbox/lubuntu-rc.xml
Colors for echo etc.:
Black 0;30 Dark Gray 1;30
Blue 0;34 Light Blue 1;34
Green 0;32 Light Green 1;32
Cyan 0;36 Light Cyan 1;36
Red 0;31 Light Red 1;31
Purple 0;35 Light Purple 1;35
Brown/Orange 0;33 Yellow 1;33
Light Gray 0;37 White 1;37
killall python
/bin Essential command binaries
/boot Static files of the boot loader
/dev Device files
/etc Host-specific system configuration
/lib Essential shared libraries and kernel modules
/media Mount point for removeable media
/mnt Mount point for mounting a filesystem temporarily
/opt Add-on application software packages
/sbin Essential system binaries
/srv Data for services provided by this system
/tmp Temporary files
/usr Secondary hierarchy
/var Variable data