Home / Tag Archives: sudo

Tag Archives: sudo

July, 2010

  • 22 July

    Easily Repeat Root Commands with History

    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 …

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 …

March, 2010

  • 29 March

    Sudo vs. SU

    The “su” command is what a Linux user with proper permissions uses to ascend to the root administrator account. A secure SSH server will not allow direct root login, so the user must gain root after initial login. The “sudo” command is an alternative to using a separate root user …

January, 2010

  • 27 January

    How to restart Apache in Mac OS X Server

    Question: How do I restart Apache HTTP Server on a Mac OS X server? Answer: Linux other Unix-based servers, you can start and stop Apache from the command line. If you are familiar with Redhat-based systems, then you are used to logging in and then using “su” to become Root. …