Skip to content

ariz

Antonis Rizopoulos

  • MUSIC
  • WORDPRESS
  • PING ME
ariz
Linux

Create a directory alias or a shortcut to replace a long path in Linux

Posted 17/10/2018 ariz

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

No related posts.

aliasshortcutdirectory

Post navigation

⟵Create a VMware Remote Console shortcut
You can’t access this shared folder because your organization’s security policies block unauthenticated guest access⟶

Categories

  • Virtual Box (1)
  • Linux (11)
  • VMWare (5)
  • Tools (1)
  • MySQL (2)
  • Laravel (4)
  • htaccess (2)
  • Projects (1)
  • Wordpress (8)
  • Troubleshooting (3)
  • CSS (13)
  • NodeJS (1)
  • PHP (6)
  • Algorithms (2)
  • ES6 (2)
  • Javascript (8)
  • Popup / Lightbox (1)
  • Uncategorized (1)
  • Video (3)
  • Windows (10)

Check out

Eva's Photo Gallery using Vue JS and Laravel

eva

News

  • Show the ‘Open command window here’ option to Windows Context menu 10/12/2018
  • Can’t login with ssh when csf enabled 04/12/2018
  • Mount a Windows share folder in CentOS 7 24/11/2018
  • You can’t access this shared folder because your organization’s security policies block unauthenticated guest access 09/11/2018
  • Create a directory alias or a shortcut to replace a long path in Linux 17/10/2018

ANTONIS RIZOPOULOS

  • Codepen
  • Email
  • GitHub
  • LinkedIn
  • SoundCloud
  • Twitter
Proudly powered by WordPress | Theme: Sydney by aThemes.