shortcut to file path

Issues related to applications and software problems
Post Reply
Posts: 37
Joined: 2019/06/21 00:07:29

shortcut to file path

Post by The.Ex-pat » 2020/07/23 17:59:50

I know there is a way to set a shortcut to a file path.

typing, $, refers to /some/path/to/the/proper/location/

I've been trying to google it, but Alias and soft link, keeps coming up, that's not what I'm looking for.

I just don't want to type the entire file path every time I need to move something to that location.

What am I looking for here.??

Code: Select all

mv file1 /some/path/to/the/proper/location/file1

Code: Select all

mv file1 $

User avatar
Posts: 3432
Joined: 2007/12/11 08:17:33
Location: Finland

Re: shortcut to file path

Post by jlehtone » 2020/07/23 23:14:07

Variable, environment variable.

Code: Select all

echo $name

Post Reply

Return to “CentOS 7 - Software Support”