Previously, I mentioned some of the benefits of using the “history” command to display any or all of your previous commands. On dedicated servers, whether Linux or Unix, that use “sudo” rather than “su” to become root, it can be aggravating when you type a long command string only to …
July, 2010
June, 2010
-
23 June
Quick and easy sudo trick for servers
Question: I just typed a really long complicated command line string on my server, but I forgot to type “sudo” at the beginning. Is there a quick way to enter it again? Answer: The history feature in Linux and Unix-like operating systems is truly a beautiful thing. With it, you …
November, 2009
-
19 November
The "history" command in Linux
If you spend a lot of time working from the command line on your server, you will undoubtedly grow tired of having to type the same ones repeatedly in a session. And if you are anything like me, you might grow tired of having to look up long strings of …