How do I set up an alias for the terminal command 'chromium-browser'?

Issue

At the moment, to test my webpage, I run the terminal command: chromium-browser index.html
What are some more efficient alternatives?

Chromium Projects shows the following:

Chromium Projects resource

Solution

Yes, as you suggest in the title, you can setup an alias:

alias cbi='chromium-browser index.html'

Then, next time, just type cbi.

Answered By – treuss

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published