(Grav GitSync) Automatic Commit from tanshu

This commit is contained in:
tanshu 2018-03-08 03:27:43 +00:00 committed by GitSync
parent 87f6632b79
commit 9b05bd7533

View File

@ -2,20 +2,20 @@
title: 'Tanshu.Com setup'
---
## 1. Data
## Data
Create a Data directory `mkdir -p ~/Data`
## 2. Scripts
## Scripts
Create a Script directory `mkdir -p ~/Data/scripts` add the script there and link it with
```sh
cd ~/bin
ls -s ~/Data/scripts/script.sh script.sh
```
## 3. Crontab
## Crontab
`export VISUAL=nano; crontab -e`
## 4. .bash_aliases
## .bash_aliases
```sh
alias psq='psql -U hops'
alias ruby=ruby2.4
@ -24,7 +24,7 @@ alias ls='ls -l --color=auto'
alias ct='export VISUAL=nano; crontab -e'
```
## 5. .bash_profile
## .bash_profile
```sh
# .bash_profile
@ -38,7 +38,7 @@ fi
export PATH=$HOME/bin:$PATH
```
## 6. .bash_rc
## .bash_rc
```sh
# .bashrc