Thursday, 30 July 2009

How to hide your shell commands

Today I came across a neat, but pointless shell command. By running the following in shell, it will hide any commands you run.



root@server2 [/]# stty -echo

In order to disable this mode, simply remove the “-” before echo.



root@server2 [/]# stty echo

I guess there really is no point to the command, though you could always mess with your coworkers if they leave their shell prompt open

No comments:

Post a Comment