-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash_aliases
More file actions
46 lines (36 loc) · 922 Bytes
/
.bash_aliases
File metadata and controls
46 lines (36 loc) · 922 Bytes
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
37
38
39
40
41
42
43
44
45
46
# Move to the parent folder.
alias ..='cd ..;pwd'
# Display the directory structure better.
alias tree='tree --dirsfirst -F'
# vim
alias vi="vim"
# ls with colors
alias ls='ls --color=auto'
# ls command long listing format
alias ll='ls --color -lF'
# ls command show all hidden / dotfiles files
alias la='ls -lAF'
# Press c to clear the terminal screen.
alias c='clear'
# Press h to view the bash history.
alias h='history'
# View the calender by typing the first three letters of the month.
alias jan='cal -m 01'
alias feb='cal -m 02'
alias mar='cal -m 03'
alias apr='cal -m 04'
alias may='cal -m 05'
alias jun='cal -m 06'
alias jul='cal -m 07'
alias aug='cal -m 08'
alias sep='cal -m 09'
alias oct='cal -m 10'
alias nov='cal -m 11'
alias dec='cal -m 12'
# alias to show the date
alias da='date "+%Y-%m-%d %A %T %Z"'
alias web='cd /var/www/html'
alias q='exit'
# Directories
alias home='cd ~'
alias root='cd /'