Stacks Image 20108

For Academics

Unix alias suggestions

Alias suggestions for your .profile file.

I keep these in a separate file that is kept in Dropbox so that it is synced between computers, and load them from my ~/.profile file with the following

. ~/Dropbox/Automation/bash/aliases

First, aliases to commonly used folders, for quick access

alias cdd="cd ~/Desktop"
alias cdg="cd ~/git"

An alias to shorten the command to go back one folder, as it is used frequently

alias cd..="cd .."

An function to open a new Finder window at the current path in the terminal

function cdf {
open -R ./
}

An alias for a more useful ls

alias lss="ls -Glht"

Aliases to quickly edit commonly edited files, such as the aliases themselves

alias ba="bbedit ~/Dropbox/Automation/bash/aliases"
alias va="mvim ~/.vim/vimrc"

Quickly reload the aliases to test they work after making changes

alias reload="source ~/Dropbox/Automation/bash/aliases"
Previous Post 14 / 50 Post

Tag:

Sex chromosome papers RSS


The genome sequence of the sycamore periphyllus aphid, Periphyllus acericola (Walker, 1848)
Link

The genome sequence of the Straw Grass-veneer moth, Agriphila straminella (Denis & Schiffermüller), 1775
Link

The genome sequence of the Golden-tabbed robberfly, Eutolmus rufibarbis (Meigen, 1820)
Link