-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
36 lines (30 loc) · 918 Bytes
/
bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
alias ls="ls --color"
alias ll="ls -l"
alias la="ls -A"
alias lla="ls -Al"
alias ..="cd .."
alias ...="cd .. && cd .."
alias cddj="cd /home/foricee/workspace/pl/python/django/"
alias cdir="cd /media/Easy/EBook/IR"
alias rm="mv -t /home/foricee/.local/share/Trash/files"
export EDITOR="vim"
alias vi='vim'
alias gi='gvim --remote-tab-silent'
alias vib='vim ~/.bashrc'
function gihpc() {
gi scp://[email protected]:55555/"$1"
}
function gi8w() {
gi scp://[email protected]/"$1"
}
function gixyss() {
gi scp://[email protected]/"$1"
}
# ssh
alias sshhpc="ssh -p 55555 [email protected]"
alias ssh8w="ssh [email protected]"
alias sshxyss="ssh [email protected]"
alias snet='watch -n 1 "/sbin/ifconfig eth0 | grep bytes"'
export PATH=$PATH:/opt/maven/bin/mvn
#scp -rP 55555 ~/somefile [email protected]:/users/hdgao
#scp -rP 55555 [email protected]:/users/hdgao/research/ downloads/