| bio | website | |
|---|---|---|
| location | Europe | |
| age | ||
| visits | member for | 6 months |
| seen | Apr 6 at 22:04 | |
| stats | profile views | 7 |
|
Dec 18 |
comment |
How to create directory ranging from 1 to nth? In newer version of bash you can do mkdir gallery{01..50} to achieve the same result. |
|
Dec 15 |
comment |
How to view the output of a running process in another bash session? You can limit output of strace to one syscall: strace -p 4232 -e write |
|
Dec 6 |
comment |
I want to kill all processes that result from the following command You don't have to use grep command at all in this case. |
|
Dec 5 |
comment |
I want to kill all processes that result from the following command You can (and should) get rid of grep in this case: ps -ef | awk '/vmstat 1/ { print "kill " $2 }' | bash |
|
Dec 5 |
comment |
Encrypt word X to /etc/shadow encryption openssl passwd -1 -salt salt password |