Type command to show some alias
# alias
alias cp='cp -i'
alias l.='ls -d .* --color=auto'
Create ls command alias
#ls
@ body_checks email mem.sh
Syntax:
# alias aliasname=`command`
Ex:
# alias list=`ls`
now test ls command alias as list
#list
Unalias command
# unalias aliasname
# unalias list
How to permanently/manually save alias
Alias file location: /root/.bashrc
#vim /root/.bashrc
alias list=`ls`
or,
# source /root/.bashrc
# alias
alias cp='cp -i'
alias l.='ls -d .* --color=auto'
Create ls command alias
#ls
@ body_checks email mem.sh
Syntax:
# alias aliasname=`command`
Ex:
# alias list=`ls`
now test ls command alias as list
#list
Unalias command
# unalias aliasname
# unalias list
How to permanently/manually save alias
Alias file location: /root/.bashrc
#vim /root/.bashrc
alias list=`ls`
Update file
# source ~/.bashrcor,
# source /root/.bashrc
I gathered as much knowledge regarding to the Linux, web sever and database server from your site.Keep on updating with more interesting topic.
ReplyDeleteMoreover to recover the lost file from Linux Click on:
android data recovery review
launch android data recovery
backup and restore android apps and data
android backup app data
recover lost files
diskdigger pro file recovery