Commit Graph

466 Commits

Author SHA1 Message Date
bonnie
0aef9e7537 System
-  Reading from journal file
2020-07-18 22:53:12 +08:00
bonnie
fdae9e9013 System section
- Performance monitoring tool - sar
2020-07-18 22:50:56 +08:00
bonnie
7857f80844 update "Find empty (0 byte) files" 2020-07-18 22:37:25 +08:00
Fazle Arefin
77c45a8784
Use find to find and delete empty files 2020-05-24 00:12:17 +10:00
bonnie
abed667be3 add to "time"
- sleep a random duration
2020-02-15 23:53:37 +08:00
bonnie
4d017c2d4d add "system" and "other" commands:
- auditctl
- df
- identify
2020-02-15 23:32:16 +08:00
bonnie
30e7fd0280 add fallocate command to "Others" 2020-01-10 01:05:47 +08:00
bonnie
6e8910bdd4 add SSH Agent Forwarding to "System" 2020-01-10 00:58:15 +08:00
bonnie
d7b5a2c2d9 fix missing quotes 2020-01-03 00:16:43 +08:00
bonnie
a24037ba8a Add "networking" and "server" commands:
- SELinux statux
- resolve domain to IP
- show SSL of a domain
2020-01-03 00:14:40 +08:00
bonnie
f02230af71 Command for generating an UUID 2019-11-04 23:01:14 +08:00
bonnie
00403b5101 add ssh commands to 'System' 2019-11-04 00:08:19 +08:00
ivothgle
8848b16b80
Update http to https
Replace safer https to avoid hijacking on some networks
2019-10-27 18:05:19 +08:00
bonnie
b9a7d4bbed Add commands for 'others'
- look
- cal
- Forces applications to use the default language for output
- add some output examples
2019-10-24 22:19:51 +08:00
Bonnie I-Man Ng
3ca70751ab
add command to 'system' section
printing last reboot history
2019-10-24 20:58:55 +08:00
bonnie
b26a489a1a Add new 'Data wrangling' section
- Move some 'Others' commands to a new 'Data wrangling' section, which contains bash one-liners for parsing data and files.
- Remove some repeated commands
- add detailed description for some commands
2019-10-22 00:07:26 +08:00
Bonnie I-Man Ng
67a9837f58
more description on xargs show limits
add output form the command `xargs --show-limits`
2019-10-20 00:26:26 +08:00
Bonnie I-Man Ng
e4d4083a27
edit introduction, rearrange commands 2019-10-20 00:15:38 +08:00
Bonnie I-Man Ng
ca02a5bccd
fix typo 2019-10-18 18:24:12 +08:00
Bonnie I-Man Ng
bd4f9c4b0e
fix typo 2019-10-18 18:23:26 +08:00
Bonnie I-Man Ng
88c21b27d6
add commands for 'others' section
bash auto-complete, fc
2019-10-18 18:22:19 +08:00
Simon Egersand
3f0f874b2c Spelling fixes
Signed-off-by: Simon Egersand <s.egersand@gmail.com>
2019-09-29 14:06:05 +02:00
Simon Egersand
c44a68b096 Give additional context for bash tip
Signed-off-by: Simon Egersand <s.egersand@gmail.com>
2019-09-29 14:06:05 +02:00
Simon Egersand
3745cd6371 Remove whitespace characters
Don't worry I didn't do this by hand

Signed-off-by: Simon Egersand <s.egersand@gmail.com>
2019-09-29 14:06:05 +02:00
Bonnie I-Man Ng
816dfa96f5
add command for 'system'
Follow the most recent logs
2019-09-26 22:02:58 +08:00
Bonnie I-Man Ng
dbd01d0d40
add 'System' command
add pgrep for checking whether a process is running
2019-09-12 10:20:31 +08:00
Bonnie I-Man Ng
e24959113a
add commands in 'Other'
Repeat printing string n times
2019-09-06 18:08:52 +08:00
Bonnie I-Man Ng
b6997413d3
update introduction 2019-09-04 16:32:10 +08:00
Bonnie I-Man Ng
3bab1594ae
add command to Random section
Random generate password (e.g. generate 5 password each of length 13)
2019-08-15 18:38:57 +08:00
Bonnie I-Man Ng
055bbc8790
add to "variable" section
eval command to expand and execute variables
2019-07-10 16:40:14 +08:00
Bonnie I-Man Ng
0f1f62f507
add 'system' section
1. Eliminate the zombie
2. Show memory usage
2019-07-09 10:49:04 +08:00
Bonnie I-Man Ng
ef9141b0a3
add to 'download'
- add 'Follow any redirect until it reaches the final destination'
- remove a command for installing python dependencies.
2019-07-02 15:30:21 +08:00
Bonnie I-Man Ng
554ac88321
add to others
Do not echo the trailing newline
2019-07-02 15:09:38 +08:00
Bonnie I-Man Ng
85f342fb20
add to 'Others'
Encode strings as Base64 strings
2019-07-02 15:03:47 +08:00
Bonnie I-Man Ng
931dc30a41
add some common environment variables 2019-06-11 14:22:34 +08:00
Dimitris
7ce55e3e72 add clear trick
Signed-off-by: dimisjim <dimitris.moraitidis@gmail.com>
2019-06-07 14:21:39 +03:00
Emile
b1cced62ac added the python3 way to the python server
Signed-off-by: Emile <hanemile@protonmail.com>
2019-06-02 12:34:06 +02:00
Bonnie I-Man Ng
83cd707f93
add others
Run multiple commands in background
2019-05-31 18:23:54 +08:00
Bonnie I-Man Ng
d8fed85f58
edit description for 'shopt' command 2019-05-17 15:59:33 +08:00
Bonnie I-Man Ng
834ff1bfbb
fix 'back to top' link 2019-05-16 23:53:13 +08:00
Bonnie I-Man Ng
2bc18431d9
fix 'back to top' link 2019-05-16 23:50:25 +08:00
Bonnie I-Man Ng
f5f7b2bd55
Add another example for tree
set level directories deep
2019-05-16 15:50:37 +08:00
Bonnie I-Man Ng
7910b94f25
Add command for system
Display file status (access, modify and change time) of a file using `stat`
2019-05-16 12:02:20 +08:00
Bonnie I-Man Ng
a3f07d0c75
fix typo 2019-05-16 11:52:54 +08:00
Bonnie I-Man Ng
75d512518e
Add commands for 'system' section
New commands:
lsusb, lsmod, rmmod, modprobe, pstree, dmesg, chkconfig, systemctl, partprobe, mount, idconfig, idd, chsh, unalias, shopt, chroot, nohup, uptime, nice
2019-05-16 11:51:30 +08:00
Bonnie I-Man Ng
719fdbb5eb
Update README.md 2019-05-15 01:40:01 +08:00
Bonnie I-Man Ng
7d539c3c1d
Update README.md 2019-05-15 01:39:35 +08:00
Bonnie I-Man Ng
2350f389ba
Update README.md 2019-05-15 01:39:23 +08:00
Bonnie I-Man Ng
48ad4c86ee
rename repo 2019-05-15 00:52:38 +08:00
Bonnie I-Man Ng
f86d9ebf36
[hot fix] comment out descriptions 2019-05-14 17:27:13 +08:00
I-Man Ng
89290279a4
Add CPU IO and network monitoring on [system] 2019-05-14 15:22:30 +08:00
I-Man Ng
c64c6fbf50
add more bash globbing examples 2019-05-14 12:30:18 +08:00
I-Man Ng
1f64f38cc5
fix typos 2019-05-14 12:22:35 +08:00
I-Man Ng
f19e1eb7fd
edit bash globbing 2019-05-14 12:21:42 +08:00
Antonio Mello
babd99b730 expand documentation:
* Add session about bash inference

Signed-off-by: Antonio Mello <acmello.ti@gmail.com>
2019-05-13 11:22:59 +02:00
will-b
3759a1cb15
Add undo typing for Ctrl keys 2019-05-11 16:42:07 +02:00
I-Man Ng
0c147a8820
fix type
wrong spelling repquota
2019-05-11 12:13:49 +08:00
I-Man Ng
a2db8a1583
Add more warning for the fork bomb 2019-05-11 11:21:05 +08:00
I-Man Ng
aad03ba431
Capitalize all the headers 2019-05-10 17:10:05 +08:00
I-Man Ng
3b99cf3ab3
Remove unnecessary newlines and comment all 'or's 2019-05-10 16:56:09 +08:00
I-Man Ng
b8b130d661
Separating Screen and Tmux 2019-05-10 16:20:40 +08:00
I-Man Ng
66150d418f
Update README.md
comment out some comments
2019-05-10 15:56:46 +08:00
I-Man Ng
9ad2bfe1d4
update hardware
add more ipmitool commands
2019-05-10 15:41:09 +08:00
I-Man Ng
2a7525a874
fix typo 2019-05-10 15:22:11 +08:00
I-Man Ng
845891c75d
add system
find out the type of command and listing and printing function
2019-05-10 15:21:20 +08:00
oct8l
95f0c607d5 Fix/change two instances of "lowercase"
Signed-off-by: oct8l <gitmail@oct8l.email>
2019-05-09 10:17:24 -05:00
I-Man Ng
fc8ae81e23
fixed typos 2019-05-09 20:19:36 +08:00
I-Man Ng
1342f5dd46
Add Math
Arithmetic Expansion in Bash
2019-05-09 20:17:21 +08:00
0xflotus
b627736ac6 fixed filename
Signed-off-by: 0xflotus <0xflotus@gmail.com>
2019-05-09 13:38:37 +02:00
I-Man Ng
52f52f4321
Fixed some typos
all wrong spelling `separate`
2019-05-09 19:34:06 +08:00
I-Man Ng
ce835189f9
Merge branch 'master' into master 2019-05-09 19:25:30 +08:00
I-Man Ng
bbd2974d41
Fix typo
Thank Costin Stefan for the reminder
2019-05-09 19:19:25 +08:00
I-Man Ng
7643e712fd
fixed typos 2019-05-09 16:07:23 +08:00
I-Man Ng
6ecd7cf784
Fixed some typos and bugs
Thanks to Crestwave's correction on Reddit.
2019-05-09 16:04:33 +08:00
I-Man Ng
c2fc594db4
Improve 'get the first character of variable
Thanks to Masta's command on Reddit
2019-05-09 15:41:47 +08:00
0xflotus
01a1d9fee5
fixed some errors 2019-05-09 09:39:05 +02:00
I-Man Ng
e553be01fc
Add terminal tricks
Ctrl shortcuts
2019-05-09 15:36:03 +08:00
I-Man Ng
68a99bbe7f
improve caret substitution
adding global replace
2019-05-09 15:11:41 +08:00
I-Man Ng
922f7d3f4d
Add commands to download this README
Thanks to Samuel_first's commands on Reddit.
2019-05-09 14:58:28 +08:00
I-Man Ng
1f17f61bb2
Add grep command
Grep and count number of empty lines
2019-05-09 00:00:37 +08:00
I-Man Ng
aa8663ed6d
Fix some bugs
Thank you for StallmanTheLeft's correction!
2019-05-08 22:51:00 +08:00
I-Man Ng
19dc622b02
Update README.md
corrected 'if loop' to 'if statement'
2019-05-08 22:27:27 +08:00
I-Man Ng
65cd41dd2a
add xwindow tools
using mpv to watch videos on servers
2019-05-07 17:13:30 +08:00
I-Man Ng
1ffab331e4
add other
get parent directory of current directory
2019-05-02 15:45:23 +08:00
I-Man Ng
5d1dea9092
edit introduction 2019-04-17 16:02:16 +08:00
I-Man Ng
d90bb95c49
add sed and other 2019-04-17 15:57:50 +08:00
I-Man Ng
16db453a5f
Update README.md 2019-03-19 13:49:41 +08:00
I-Man Ng
3a4084f6fc
edit ending quote 2019-02-22 15:26:39 +08:00
I-Man Ng
fb39f8b017
add system
Check if it's root running
2019-02-21 17:08:23 +08:00
I-Man Ng
ae9cbf57ef
add hardware
lshw
2019-01-23 15:52:35 +08:00
onceupon
821c57ec4c
edit link markdown 2018-12-20 12:11:41 +08:00
onceupon
89c34e4347
add if loop 2018-12-19 17:59:27 +08:00
onceupon
934f793da8
Update README.md 2018-12-18 16:34:40 +08:00
onceupon
46684db867
add other
Reverse the result from `uniq -c`
2018-12-14 10:05:24 +08:00
onceupon
6e66fd9ce9
add diff comment
Compare two files, strip trailing carriage return/ nextline
2018-11-22 10:01:18 +08:00
onceupon
9856d4c685
add sys admin
list all enable services
2018-11-16 16:34:57 +08:00
onceupon
0b185df5d5
add tmux commands 2018-11-08 15:00:32 +08:00
onceupon
8f3874d158
edit command for 'list information about NIC'
should use lspci instead of lsscsi
2018-11-02 14:41:40 +08:00
onceupon
c05d867f88
edit loop section
add more examples for 'if'
2018-10-29 17:08:45 +08:00
onceupon
8309dbb316
edit ending wording 2018-10-25 11:45:29 +08:00
onceupon
1dc726c2a2
add others
tac a file
2018-10-25 11:40:42 +08:00
onceupon
6ee16107fc
Update README.md 2018-10-25 01:30:35 +08:00
onceupon
da2f7b910e
add system
Stop tailing a file on program terminate
2018-10-25 01:29:49 +08:00
onceupon
1e9abe3dfd
add some old commands when revising LPIC 1
wonder if anyone will read this commit messages.
2018-10-25 00:42:42 +08:00
onceupon
b13840742e
update grep section
more detail on regex
2018-10-24 18:11:42 +08:00
onceupon
9c21d7c3f5
Update README.md 2018-10-24 17:25:32 +08:00
onceupon
89eb5d75f4
add grep
type of grep
2018-10-24 17:23:35 +08:00
onceupon
5a9b0c3372
add terminal tricks
run last command
2018-10-24 09:44:11 +08:00
onceupon
0bde7e7ec2
Update README.md 2018-10-24 01:38:36 +08:00
onceupon
8d8a350dcf
Create 'Ctrl' section
collected and summarized some Ctrl command line tricks
2018-10-24 01:37:27 +08:00
onceupon
315debd7a2
add item tos 2018-10-22 11:00:12 +08:00
onceupon
d06b00f353
Insert items for the 'system' section
Add items for finding out last and current login users.
2018-10-22 10:52:49 +08:00
onceupon
1322960433
Update README.md 2018-09-13 16:27:10 +08:00
onceupon
92b6200408
add tmux scroll 2018-09-13 16:26:09 +08:00
onceupon
ba93ba5b86
Update README.md 2018-09-06 14:31:16 +08:00
onceupon
f3779013a2
add grep
grep ip address
2018-09-06 14:31:00 +08:00
onceupon
ba9a274113
add sed
add string to beginning of file
2018-08-21 14:04:03 +08:00
onceupon
c94a0b8a18
add other
right align
2018-06-25 17:31:15 +08:00
onceupon
30eb530c08
add screen 2018-06-20 10:59:08 +08:00
onceupon
ca650f4463
add others
sort a file by column and keep the original order
2018-05-31 16:31:27 +08:00
onceupon
3842241d25
add if loop 2018-05-31 16:07:50 +08:00
onceupon
e5e610f319
add sed and others 2018-05-31 10:55:20 +08:00
onceupon
867908d1d4
Update README.md 2018-05-28 10:38:35 +08:00
onceupon
ad2e29fcdb
add kill all process of a program 2018-05-28 10:15:48 +08:00
onceupon
ee27648b74
add other
add file extension to all files using rename
2018-05-25 17:25:10 +08:00
onceupon
cdc039aca4
edit typo 2018-05-25 17:19:22 +08:00
onceupon
0e2fe403af
add other
edit history
2018-05-25 15:00:42 +08:00
onceupon
bbe62d8eee
edit tmux synchronize panes 2018-05-04 17:49:07 +08:00
onceupon
2bc3257c30
add tmux panes 2018-05-04 17:46:44 +08:00
onceupon
527181159a
Update README.md 2018-04-27 17:21:05 +08:00
onceupon
1c412a14da
Update README.md 2018-04-27 17:01:52 +08:00
onceupon
a5d0f4b630
edit benchmark tools 2018-04-27 17:01:11 +08:00
onceupon
7991dd6f4c
add sys
benchmarking tools
2018-04-27 16:09:36 +08:00
onceupon
1e95592878
edit at example 2018-04-18 11:30:24 +08:00
onceupon
8cf5c95495
add time section
add a new time section, there are moments that we wish to know and control the time for our commands
2018-04-18 11:19:40 +08:00
onceupon
cf0a127639
fix typo 2018-04-17 09:43:53 +08:00
onceupon
f59986e0c0
add loop
switch loop
2018-04-12 14:49:54 +08:00
onceupon
2d890d0538
add variable
remove the first or last string from variable
2018-04-12 14:34:29 +08:00
onceupon
54a00b2569
add variable
get the first character of the variable
2018-04-12 14:23:32 +08:00
onceupon
283d52b361
Update README.md 2018-04-12 14:16:31 +08:00
onceupon
a9adb3d7b7
edit 'back to top' 2018-04-12 14:15:22 +08:00
onceupon
c29f247fb8
Update README.md 2018-04-12 14:13:04 +08:00
onceupon
394ef7c772
add variable
remove first leading zero
2018-04-12 14:05:49 +08:00
onceupon
99b7c30807
add sed
Remove lines whose nth character not equal to a value
2018-04-11 10:00:37 +08:00
onceupon
d21abd8ddc
Update README.md 2018-04-10 16:34:59 +08:00
onceupon
430cfb08ef
add variable
get the length of variable
2018-04-10 14:57:51 +08:00
onceupon
b310c4acbe
add working with json data
jq command
2018-04-10 14:38:09 +08:00
onceupon
aea54c126c
Update README.md 2018-04-10 10:15:04 +08:00
onceupon
cfa3d59e92
add variable section
bash variable can be frustrating
2018-04-10 10:10:26 +08:00
onceupon
6a1ec40741
add grep
grep string starting with a string
2018-03-31 09:24:45 +08:00