Commit graph

279 commits

Author SHA1 Message Date
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
onceupon
ac371598b8
Update README.md 2018-03-26 09:55:54 +08:00
onceupon
ffc0c45075
Update README.md 2018-03-07 11:16:18 +08:00
onceupon
35e7587b05
Update README.md 2018-03-07 11:14:50 +08:00
onceupon
011ffc4de6
add other
set up virtualenv(sandbox) for python
2018-03-07 11:06:50 +08:00
onceupon
518a3079bc
Update README.md 2018-02-22 11:07:01 +08:00
onceupon
36baba224d
Update README.md 2018-02-12 14:56:35 +08:00
onceupon
b1a605f135
Add hardware section
get CPU, memory, hard disk, NIC, temperature information
2018-02-12 14:53:34 +08:00
onceupon
6e6d0b9f66
add awk
remove last column
2018-02-09 10:36:52 +08:00
onceupon
2e1da343d6
Update README.md 2018-02-08 10:06:43 +08:00
onceupon
1df734925a
Update README.md 2018-02-08 10:05:09 +08:00
onceupon
29c4d7dfaa
Update README.md 2018-02-08 10:00:41 +08:00
onceupon
054b8b6a2a
add system
Get process ID of a process (e.g. sublime_text)
2018-02-08 10:00:06 +08:00
onceupon
c839834f35
Update README.md 2018-02-07 18:24:07 +08:00
onceupon
3e87339464
add others
get NIC information
2018-02-07 18:23:31 +08:00
onceupon
18d0c842ae
add dmidecode type table 2018-01-25 11:27:35 +08:00
onceupon
e18f742e17
add unzip 2018-01-23 16:41:00 +08:00
onceupon
981208c791
add other
tree
2018-01-17 13:36:56 +08:00
onceupon
723ff2314a
Update README.md 2018-01-10 09:48:50 +08:00
onceupon
7ae9dbbce9
edit all comments to start with '#' instead of '//' 2018-01-10 09:47:26 +08:00
onceupon
478751bba0
add others: Create a large amount of dummy files 2018-01-03 13:56:20 +08:00
onceupon
df9707071d
Update README.md 2018-01-03 12:21:42 +08:00
onceupon
bf4af75707
add others
Capture/record/save terminal output (capture everything you type and output)
2018-01-03 12:20:55 +08:00
onceupon
067f5f2a94
Update README.md 2018-01-02 10:59:20 +08:00
onceupon
7f8ddc1ce8
add others- list only directory 2018-01-02 10:17:50 +08:00
onceupon
099fe975c0
add sed
Substitution with wildcard (e.g. replace a line start with aaa= by aaa=/my/new/path)
2017-12-29 17:30:49 +08:00
onceupon
5a34554eea
Update README.md 2017-12-29 10:14:00 +08:00
onceupon
a2d0bf805a
Send command to all panes in tmux: 2017-12-27 11:07:20 +08:00
onceupon
1e3518082c
Update README.md 2017-12-14 14:48:35 +08:00
onceupon
7742c3b72f
add logout timer 2017-12-14 09:43:55 +08:00
onceupon
5f3e48109e
Update README.md 2017-12-12 12:07:02 +08:00
onceupon
9268b08e4f
add system: query for hardware device status
memory and segate disks
2017-12-12 12:05:18 +08:00
onceupon
08bf087b3d
Update README.md 2017-12-12 10:59:35 +08:00
onceupon
83a7ff99be
Update README.md 2017-12-12 10:58:22 +08:00
onceupon
722c78f339
Add to server section
Create a ssh tunnel
Locate and remove a package
2017-12-12 10:55:08 +08:00
onceupon
dab5b43c4f
Create a UEFI Bootable USB drive
(e.g. /dev/sdc1)
2017-12-07 19:34:09 +08:00
onceupon
e2c847386d
Increase/ resize root partition
(root partition is an LVM logical volume)
2017-12-07 15:32:32 +08:00
onceupon
a2702989e6
add grep
Grep lines not begin with string (e.g. #)
2017-11-29 16:31:10 +08:00
onceupon
204c1bdb7a
add others(pdf to txt)
pdf to txt
2017-11-29 14:00:46 +08:00
onceupon
d9742d8586
Update README.md 2017-11-24 16:50:22 +08:00
onceupon
7d377a534b
Update README.md 2017-11-23 10:44:19 +08:00
onceupon
400b96d4d8
Update README.md 2017-11-23 10:43:28 +08:00
onceupon
5c8c194814
Update README.md 2017-11-23 10:43:12 +08:00
onceupon
a9a0195a85
Update README.md 2017-11-23 10:42:50 +08:00
onceupon
4c4c880a75
add other: wait
wait for a pid (job) to complete
2017-11-23 10:40:30 +08:00
onceupon
b5f01625ac
add system
remove unnecessary files to clean your server
2017-11-14 15:44:15 +08:00
onceupon
42df407113
add grep only integers 2017-11-01 17:59:03 +08:00
onceupon
4dfbacff7b
add ntp 2017-10-31 10:15:07 +08:00
onceupon
2461aa5048 add variable replacement 2017-10-27 11:13:54 +08:00
onceupon
4b1d481eb8 add system and while
While loop, keep checking a running process (e.g. perl) and start another new process (e.g. python) immetiately after it.
get pid
2017-10-26 18:29:14 +08:00
onceupon
1dece9ec82 Grep variables with space within it
Grep variables with space within it
2017-10-26 16:20:59 +08:00
onceupon
afc0010830 edit remove lines with string
add case insensitive
2017-10-26 16:14:20 +08:00
onceupon
646caf4def edit increment 2017-10-26 12:01:20 +08:00
onceupon
2226834210 add loop
if else Test if file exist
2017-10-25 17:59:22 +08:00
onceupon
81b3375b2f Update README.md 2017-10-25 14:44:16 +08:00
onceupon
41f898aa95 add loop
for loop, print a file line by line
2017-10-25 14:43:51 +08:00
onceupon
945fce1dd6 add system
##### change network maximum transmission unit (mtu) (e.g. change to 9000)
2017-10-25 11:21:15 +08:00
onceupon
00dc05870e add tmux and screen detach 2017-10-24 13:46:22 +08:00
onceupon
5bd56e6440 add system
using telnet to test open ports
2017-10-19 14:48:57 +08:00
onceupon
52c0337911 add others
pass password to ssh
2017-10-19 13:38:40 +08:00
onceupon
6b7d0d3edb add grep and xargs 2017-10-11 15:49:28 +08:00
onceupon
b7b1a844ff Update README.md 2017-10-11 11:02:21 +08:00
onceupon
f809db9df4 add system
list hardware details
2017-10-06 15:48:47 +08:00
onceupon
dc9cd819f6 edit mail 2017-10-05 11:20:22 +08:00
onceupon
07f29055e9 add others
cut the last column
2017-10-02 12:06:47 +08:00
onceupon
9ff923bd6c add others
add line number (nl)
2017-10-02 12:05:33 +08:00
onceupon
e43853e465 add sed
remove lines
2017-10-02 10:38:44 +08:00
onceupon
55e4c097c7 add sed 2017-09-28 18:10:55 +08:00
onceupon
0947dbc550 Update README.md 2017-09-28 13:40:02 +08:00
onceupon
5e1c830b2e Update README.md 2017-09-28 13:39:33 +08:00
onceupon
1d98000d06 Update README.md 2017-09-28 13:37:46 +08:00
onceupon
b932ec378e Update README.md 2017-09-28 13:36:01 +08:00
onceupon
c704f484a2 add screen and tmux 2017-09-28 13:34:16 +08:00
onceupon
b8350d6d62 Update README.md 2017-09-28 13:30:05 +08:00
onceupon
25c010a353 add others
sql-like q,screen, tmux
2017-09-28 13:28:23 +08:00
onceupon
63e19c2d10 Update README.md 2017-09-26 09:16:16 +08:00
onceupon
f3b131f90f add loop and others
Press any key to continue
2017-09-26 09:12:22 +08:00
onceupon
65e9439a8f add system
when sound not working
2017-09-20 15:33:16 +08:00
onceupon
63201adc86 add system
Check which file make the device busy on umount
2017-09-15 11:20:26 +08:00
onceupon
821380ddc3 Update README.md 2017-09-15 11:07:16 +08:00
onceupon
2e0006ed3f Update README.md 2017-09-15 10:55:22 +08:00
onceupon
b754d30235 Update README.md 2017-09-15 10:41:34 +08:00
onceupon
36469b12db Update README.md 2017-09-15 10:40:51 +08:00
onceupon
d28191ddd2 Update README.md 2017-09-14 12:20:58 +08:00
onceupon
31a06f9ad8 Update README.md 2017-09-12 17:39:40 +08:00
onceupon
a376d94fea Add Math and others 2017-09-12 17:38:43 +08:00
onceupon
ad8babdbc9 add other
Keep /repeatedly executing the same command (e.g Repeat 'wc -l filename' every 1 second),
2017-09-12 16:48:24 +08:00
onceupon
a493c719a9 add others
Cat to a file
2017-09-08 09:22:48 +08:00