Thomas Thomas - 2 years ago 102
Linux Question

linux: how to execute profile file

My colleague gave me a file containing lots of configs such as

alias ll="ls -l"
alias lr="ls -lrt"
alias gv="vim -g"

How can I use(execute) this profile?

Answer Source

You can load the profile using source command:

source <profile-filename>


source ~/.bash_profile
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download