Posts Tagged ‘terminal’
How To Auto Login to an SSH Connection with Terminal
I love shortcuts – basically anything that help increase productivity. If you are like me, and need to connect to many different servers and or remote terminals, this one is for you. Before when I SSH’d I would open Terminal and type ssh user@host.com then enter the password at the prompt. Now I just type [...]
How to Use WGET with Usernames & Passwords
WGET supports authentication, so its pretty simple. How to Use WGET with Usernames & Passwords 1. Open Terminal 2. Type: wget –user=’username’ –password=’password’ http://path/to/protected/file.zip Options –ftp-user –ftp-password –http-user –http-password
How To Move Files from One Server to Another With SCP SSH
You can easily move files from one server to another with the SCP command. How To Move Files from One Server to Another With SCP SSH 1. Open an SSH session in Terminal 2. Navigate to files/folder you wish to move 3. Optionally tar.gz the files/folder 4. In Terminal type: scp file.tar.gz user@remote.server.com:/path/to/where/to/want/to/put/file.tar.gz That will [...]
Terminal Command to Stop Crash Report Popups
When an app crashes, Mac OS X pops open a crash report dialog box. Since I never really use this feature here is a simple Terminal command to rid yourself of them: defaults write com.apple.CrashReporter DialogType none If for any reason you want to reactivate the crash reports, retype the code replacing “none” with “prompt”.
Bashrc Example
I was recently looking for some examples of a bashrc file. I figured I would post my current .bashrc file…. # ~/.bashrc: executed by bash for non-login shells. ############## # Bash Prompts # ############# # [12:34] ~/desktop $ export PS1=”\[[\A]\] \w $ ” umask 022 ####################### # setting up file completion # ###################### if [ [...]













