f9619440da
Add terminal trick
...
Record a terminal session
2025-04-03 10:53:58 +08:00
3199d638ae
fix command #last and add new commands for #System and #Others
2024-08-29 19:39:32 +00:00
80c5012f38
add commands for #Networking
2024-08-29 18:51:24 +00:00
6479b26656
fix command for #Check if a variable is null
2024-08-29 18:14:01 +00:00
7cfb4e286c
Merge pull request #53 from fox-forks/hyperupcall-whitespace-consistent
...
Make formatting and names more consistent
2024-08-30 01:49:04 +08:00
88e095d5fc
Make formatting and names more consistent
...
Signed-off-by: Edwin Kofler <edwin@kofler.dev >
2023-11-18 13:47:16 -08:00
212326d7a3
Add example for sed
...
Add a line after the line that matches the pattern (e.g. add a new line with "world" after the line with "hello")
2023-08-11 00:25:22 +08:00
6576e5a685
remove pgrep, fixing #40
2023-03-16 09:43:50 +00:00
a85131614c
modify description for $_
2023-03-16 07:05:25 +00:00
520f053c08
Merge pull request #38 from sarlej/add-$_
...
Add '$_'
2023-03-16 15:02:21 +08:00
3e6bbf7c20
fix issue #36
2023-03-15 10:02:31 +00:00
29902039d8
remove duplicated command
2023-03-15 09:38:46 +00:00
b6ff5a9fcc
edit command order
2023-03-15 08:19:29 +00:00
1c5bd35608
update vi-mode #39
2023-03-15 08:18:16 +00:00
6054869173
Merge pull request #39 from mtatton/master
...
[ vi ] readline vi mode
2023-03-15 16:15:29 +08:00
a67ee7e167
update ctrl key order
2023-03-15 07:44:51 +00:00
58b858888a
modify description for #41
2023-03-15 07:41:55 +00:00
9ae2d9403b
Merge pull request #41 from 5c077m4n/add-ctrl-z-term-cmd
...
Add `Ctrl + z` command description
2023-03-15 15:40:24 +08:00
55fc47b685
modify output example for #43
2023-03-15 07:37:37 +00:00
ca89df83dc
Merge pull request #43 from chapmanjacobd/patch-1
...
include full output
2023-03-15 15:34:45 +08:00
1b42d476e4
add example for mktemp
2023-03-15 07:29:08 +00:00
5d5b83b7b8
Merge pull request #44 from chapmanjacobd/patch-2
...
add mktemp
2023-03-15 15:17:21 +08:00
671c0eb16f
update comment
2023-03-11 17:16:29 +00:00
51d112b5ce
Merge pull request #45 from chapmanjacobd/patch-3
...
Use ctrl+d instead of ctrl+c
2023-03-12 01:14:06 +08:00
40c3b7d7b8
update title for bash strict mode, add command to turn it off
2023-03-11 17:08:42 +00:00
6ecdb7b85e
Merge pull request #46 from chapmanjacobd/patch-4
...
add more info about BASH options
2023-03-12 00:58:05 +08:00
23a1efa249
add examples for 'current time point for N days ago or after N days'
2023-03-11 16:21:26 +00:00
a606d6be45
Merge pull request #48 from PoplarYang/master
...
fix typo '//dev/shm/200m' and add 'current time point for N days ago or after N days'
2023-03-12 00:07:23 +08:00
16197f576e
Merge pull request #29 from siansiansu/formatExampleCode
...
format bash commands
2023-03-11 16:40:42 +08:00
5f0c40efc5
Add Ctrl + z
command desc
...
Signed-off-by: Roee Shapira <roee.shapira@tensorleap.ai >
Signed-off-by: Roee Shapira <ro33.sha@gmail.com >
2022-05-24 01:17:25 +03:00
232900349a
fix typo
...
Co-authored-by: kang <1115610574@qq.com >
2022-05-17 18:07:22 +08:00
3cf8bdfe46
add 'current time point for N days ago or after'
2022-05-16 00:33:16 +08:00
794d4ba7b3
fix typo "//dev/shm"
2022-05-16 00:13:47 +08:00
3276c74d49
add more info about BASH options
2022-05-14 16:08:29 -05:00
f459755ade
Use ctrl+d instead of ctrl+c
2022-05-14 13:10:26 -05:00
57085df9be
add mktemp
2022-05-14 12:54:23 -05:00
7d1c903031
include full output
2022-05-14 12:18:16 -05:00
7d33353ca8
make some parts of example code more consistent
...
Signed-off-by: alexsu <alexsu@17.media >
2022-05-10 12:21:11 +08:00
a59f19e9cf
[ vi ] readline vi mode
...
Signed-off-by: Unknown <dev@null>
2022-05-09 20:14:34 +02:00
c3a29f735a
vi edit mode
...
Signed-off-by: Unknown <dev@null>
2022-05-09 20:14:34 +02:00
ebfb8f1be1
Create README.md
...
Add '$_' it contains last of parameterers of recent command.
2022-05-09 13:32:42 +02:00
a59c8598b0
edfixed grep command "Regex with or without a certain character"
2022-05-09 00:18:05 +08:00
c70067d38f
edRemove ‘ ’ style quotes from README.ME
2022-05-09 00:15:04 +08:00
bca6221ed3
edadd comm in "data wrangling"
2022-05-09 00:01:41 +08:00
0103101550
edit "Run last command"
2022-05-08 23:35:19 +08:00
bab726081b
fixed example for Variable command
2022-05-08 23:33:28 +08:00
7d40456576
fixed content order
2022-05-08 23:07:47 +08:00
ab2ecc058d
fixing example output for look command
2022-05-08 01:38:02 +08:00
9dbc77ba6e
Merge pull request #28 from NateEag/patch-1
...
Fix typo in README.md (singer -> single)
2022-05-08 01:32:45 +08:00
8b2e16f0c1
Merge pull request #33 from JacksonBailey/patch-1
...
Variable substitution changes
2022-05-08 01:30:26 +08:00
18134f72c9
Merge pull request #30 from ember91/master
...
Fix spelling errors
2022-05-08 01:20:06 +08:00
b1137da792
Merge pull request #24 from linus/patch-2
...
Use correct quoting
2022-05-08 01:04:52 +08:00
b912cc99bf
Merge pull request #23 from linus/patch-1
...
Use equivalent regex with PCRE
2022-05-08 01:02:27 +08:00
b07665cb43
Merge pull request #22 from herrcykel/patch-1
...
Simplify glob expression
2022-05-08 00:58:25 +08:00
7010074d16
Merge pull request #35 from chapeupreto/fixes
...
fix typo and markdown formatting issues
2022-05-08 00:54:56 +08:00
12023778bd
fix typo and markdown formatting
...
Signed-off-by: Rod Elias <rodiney@gmail.com >
2022-05-06 10:50:27 -03:00
dc268515b7
Variable substitution changes
...
Clarify documentation and give a few more examples
2022-05-04 15:58:25 -04:00
d2549128c7
Fix spelling errors
...
Signed-off-by: Emil Berg <emil.berg@ericsson.com >
2022-05-04 07:50:27 +02:00
bd9a732dba
Correct the description of Esc + c (Alt+c)
...
Signed-off-by: Страхиња Радић <contact@strahinja.org >
2022-05-04 07:47:31 +02:00
c136e0f36f
Fix typo in README.md (singer -> single)
2022-05-03 21:45:55 -04:00
8ab7cf7a6d
Simplify glob expression
...
Signed-off-by: O <herrcykel@users.noreply.github.com >
2022-05-03 22:15:57 +02:00
a97dcf2a3b
Use equivalent regex with PCRE
...
Use the equivalent regex with PCRE.
`[0-9]*` (and `\d*`) will output each integer, e.g.:
```bash
echo 17 | grep -o '[0-9]*'
```
Whereas `\d` will split it into digits, e.g.:
```bash
echo 17 | grep -oP '\d'
```
Signed-off-by: Linus G Thiel <linus@yesbabyyes.se >
2022-05-03 22:02:09 +02:00
0f5fa26f06
Use correct quoting
...
Unquote the sed expression.
Signed-off-by: Linus G Thiel <linus@yesbabyyes.se >
2022-05-03 22:01:42 +02:00
c2b96736bd
Merge pull request #21 from Strahinja/master
...
Correct the description of Esc + c (Alt+c, M-c)
2022-05-03 12:21:52 +08:00
8dcfa4904b
Correct the description of Esc + c (Alt+c)
...
Signed-off-by: Страхиња Радић <contact@strahinja.org >
2022-01-26 18:17:03 +01:00
ce13d4af19
Merge pull request #20 from valerionew/patch-1
...
Swap * and ? in bash globbing sections to match with correct comments
2021-08-13 19:03:16 +08:00
81ec32bfb9
Swap * and ? in bash globbing sections to match with correct comments
...
Signed-off-by: valerionew <valerionappi995@gmail.com >
2021-07-01 15:05:55 +02:00
954f42c06a
fixed typo in file name
...
xargs using With sed
2021-05-16 16:17:31 +08:00
c1c3f8bcb5
Merge pull request #19 from WardMaes/master
...
Add instructions to exit virtual environment
2021-05-06 17:30:17 +08:00
26db64f1b2
Add deactivate command
...
Signed-off-by: Ward <WardMaes@users.noreply.github.com >
2021-04-11 11:40:52 +02:00
5e32496e5d
Merge branch 'master' of https://github.com/onceupon/Bash-Oneliner
2021-03-16 22:10:53 +08:00
f1e9f30e78
+ find 1. Recursively count all the files in a directory
...
+ Condition and loop
1. Using test command, to test if the length of variable is nonzero
+ Others
1. Create a screen and name it 'test'
+ Time
1. Get the seconds since epoch (Jan 1 1970) for a given date (e.g Mar 16
2021)
2. Convert the number of seconds since epoch back to date
+ fix some markdown syntax issue
2021-03-16 22:10:49 +08:00
248ae4c50e
Merge branch 'master' of https://github.com/onceupon/Bash-Oneliner
2021-03-16 22:08:23 +08:00
5740e44d62
+ find 1. Recursively count all the files in a directory
...
+ Condition and loop
1. Using test command, to test if the length of variable is nonzero
+ Others
1. Create a screen and name it 'test'
+ Time
1. Get the seconds since epoch (Jan 1 1970) for a given date (e.g Mar 16
2021)
2. Convert the number of seconds since epoch back to date
+ fix some markdown syntax issue
2021-03-16 22:08:02 +08:00
19d402cc84
+ find
...
1. Recursively count all the files in a directory
+ Condition and loop
1. Using test command, to test if the length of variable is nonzero
+ Others
1. Create a screen and name it 'test'
+ Time
1. Get the seconds since epoch (Jan 1 1970) for a given date (e.g Mar 16
2021)
2. Convert the number of seconds since epoch back to date
+ fix some markdown syntax issue
2021-03-16 22:03:57 +08:00
244a568bd7
fix typo mentioned in issue https://github.com/onceupon/Bash-Oneliner/issues/18
2021-03-16 20:13:56 +08:00
093edef55a
+ time
...
returns the current time with nanoseconds.
2021-03-16 19:43:41 +08:00