(Grav GitSync) Automatic Commit from tanshu
This commit is contained in:
parent
87f6632b79
commit
9b05bd7533
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user