You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.2 KiB

title: Tanshu.Com


Create a Data directory mkdir -p ~/Data


Create a Script directory mkdir -p ~/Data/scripts add the script there and link it with

cd ~/bin
ls -s ~/Data/scripts/


export VISUAL=nano; crontab -e


alias psq='psql -U hops'
alias ruby=ruby2.4
alias gem=gem2.4
alias ls='ls -l --color=auto'
alias ct='export VISUAL=nano; crontab -e'


# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc

# User specific environment and startup programs

export PATH=$HOME/bin:$PATH


# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases

# User specific aliases and functions
export GEM_HOME=$HOME/gems
export RUBYLIB=$GEM_HOME/lib
export PATH=$HOME/bin/:$PATH:$GEM_HOME/bin
# export PATH=$HOME/bin/:$PATH