I added the following line to my bashrc:

alias b="xrandr --output HDMI-1 --brightness"

When I open another terminal and run b, b 0.1, or b 1 it says that command "b" is not found.

I have a similar line for vim that works fine though:

alias v="vim"

What gives?


1 Answer 1


To apply changes , run :

source .bashrc

Also you can log out then log in instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.