Shell: Difference between revisions

From DWIKI
(Created page with "How to do things on shell =Files magic= == sort by Nth field == sort -t '|' -k 4 Category:Shell")
 
mNo edit summary
Line 5: Line 5:
  sort -t '|' -k 4
  sort -t '|' -k 4


=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


[[Category:Shell]]
[[Category:Shell]]

Revision as of 14:59, 28 September 2022

How to do things on shell

Files magic

sort by Nth field

sort -t '|' -k 4


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