I'm running in some errors, not exactly knowing what I'm doing so it's sort of trial and error. Whenever it spits back an error, the cursor just sits on the next line but not at the prompt. How do I 'come out of' the error or out of the last command and revert back to the # prompt? Right now I just keep closing PuTTy and logging back in but that's a pain having to reauthenticate and su my way to the right user etc. Any ideas?
TOPS *q* should work and also you can go in main directory by using cd ~ (If you logged in using root login) otherwise just cd Saad
cd ~ goes to the root user's home directory. it works for all other users too. cd ~yoursite will take you to the home directory of yoursite. likely something like... /home/yoursite/ your username will be the same that you use to log into your FTP, etc.
no problem I'm thinking I'll make a bash / ssh crash course entry for my blog at some point, as a lot of webmasters run into it by the time they're using vps or dedicated servers but not all of them really know how it works. I'm by no means great at it, but I've learned a bit as time went on
I had such a hard time just remembering how to gzip a directory that I had to post the unix code in my blog that had nothing to do with any server management. most tutes give way too much useless info, like every option to every command. What would be good (in my opinion) is a rundown without all the extra info. 1. to back up type this 2 to install this type this