Shell: Difference between revisions
From DWIKI
mNo edit summary |
mNo edit summary Tag: wikieditor |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
How to do things on shell | How to do things on shell | ||
=Links= | |||
*https://explainshell.com/ | |||
=Files magic= | =Files magic= | ||
== sort by Nth field == | == sort by Nth field == | ||
sort -t '|' -k 4 | sort -t '|' -k 4 | ||
=HOWTO= | |||
==(re)connect to running process== | |||
reptyr | |||
==List only directory names== | |||
ls -d */ | |||
=FAQ= | =FAQ= | ||
Latest revision as of 10:58, 2 March 2026
How to do things on shell
Links
Files magic
sort by Nth field
sort -t '|' -k 4
HOWTO
(re)connect to running process
reptyr
List only directory names
ls -d */
FAQ
This account is currently not available
When you're trying to use su to run command as another user, problably means the shell is /sbin/nologin so try
su -s /bin/bash someuser -c command
