Skip to Content

Archive for the ‘terminal’ Category

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 open an SSH tunnel from [...]

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 [ -f ~/.bash_completion ];
then
. ~/.bash_completion;
fi
############
# My Aliases #
############
#alias ll=’ls -lagh’
# [...]

How To Use Twitter from Terminal

I was scrubbing the internets a few nights ago and stumbled upon a way to Tweet from the Terminal. Here is a simple way to get started. Please note this method is not the most secure, since you have to hard code a script with your user / pass.
How To Use Twitter from Terminal
1. In [...]

Page: 1 / 3 1 2 3 Last ›
Get Adobe Flash playerPlugin by wpburn.com wordpress themes