If you just want the ease of switching into that directory, to create a real alias and save keystrokes just type the following:
[[email protected] ~]# alias www1='cd /var/www/html/domain1/public_html/' [[email protected] ~]# www1
If you just want the ease of switching into that directory, to create a real alias and save keystrokes just type the following:
[[email protected] ~]# alias www1='cd /var/www/html/domain1/public_html/' [[email protected] ~]# www1