(Grav GitSync) Automatic Commit from tanshu
This commit is contained in:
parent
87f6632b79
commit
9b05bd7533
@ -2,20 +2,20 @@
|
|||||||
title: 'Tanshu.Com setup'
|
title: 'Tanshu.Com setup'
|
||||||
---
|
---
|
||||||
|
|
||||||
## 1. Data
|
## Data
|
||||||
Create a Data directory `mkdir -p ~/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
|
Create a Script directory `mkdir -p ~/Data/scripts` add the script there and link it with
|
||||||
```sh
|
```sh
|
||||||
cd ~/bin
|
cd ~/bin
|
||||||
ls -s ~/Data/scripts/script.sh script.sh
|
ls -s ~/Data/scripts/script.sh script.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## 3. Crontab
|
## Crontab
|
||||||
`export VISUAL=nano; crontab -e`
|
`export VISUAL=nano; crontab -e`
|
||||||
|
|
||||||
## 4. .bash_aliases
|
## .bash_aliases
|
||||||
```sh
|
```sh
|
||||||
alias psq='psql -U hops'
|
alias psq='psql -U hops'
|
||||||
alias ruby=ruby2.4
|
alias ruby=ruby2.4
|
||||||
@ -24,7 +24,7 @@ alias ls='ls -l --color=auto'
|
|||||||
alias ct='export VISUAL=nano; crontab -e'
|
alias ct='export VISUAL=nano; crontab -e'
|
||||||
```
|
```
|
||||||
|
|
||||||
## 5. .bash_profile
|
## .bash_profile
|
||||||
```sh
|
```sh
|
||||||
# .bash_profile
|
# .bash_profile
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ fi
|
|||||||
export PATH=$HOME/bin:$PATH
|
export PATH=$HOME/bin:$PATH
|
||||||
```
|
```
|
||||||
|
|
||||||
## 6. .bash_rc
|
## .bash_rc
|
||||||
```sh
|
```sh
|
||||||
# .bashrc
|
# .bashrc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user