Using Alias in *Ubuntu Linux, create shortcuts to long commands

preview_player
Показать описание
Using alias lets us create shortcuts to long command lines
Рекомендации по теме
Комментарии
Автор

Thank you, exactly the information I was searching for

pablorc
Автор

clearly explained, though should've briefly explained what the "-y" do, thanks for this tutorial bro👌🏻

devviz
Автор

and... if you want something, where you add your input inside long command

something like:
($ is just 'common user' bash prompt here. you don't type that.)

you can write it as function in your .bashrc
like this:

w3ml() { w3m "$1" -B -o display_link_number=1 | less;}

here $1 is first input argument (in our case link)

and in next opened terminal window
(that is when terminal reads settings from it)
you can write:
for same effect
(not that this specific command would be useful on youtube links.. it was just example)

thinboxdictator