-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
35 lines (24 loc) · 708 Bytes
/
.bash_profile
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
//Changes directory to the Desktop
alias desktop='cd Desktop'
//Detailed listing of files and folders
alias list='ls -l'
//Detailed listing of files and folders (with hidden)
alias listall='ls -al'
//Changes directory backwards
alias back='cd ..'
//Changes directory to the Home
alias home='cd $HOME'
//Changes directory to the root
alias rootb='cd /'
//Lists all aliases in this file
alias listalias='ls -l | grep alias .bash_profile'
//Lists all IP addresses
alias getip='ifconfig | grep inet'
//Permits all files/folders
alias pera='sudo chmod 777'
//File permission
alias perf='sudo chmod 644'
//Directory permission
alias perdir='sudo chmod 755'
//Force to terminate
alias destroy='kill -9'