Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

aliases in UNIX

I can I create an alias and be able to use it each time I login?  Now I can create an alias, but when I logout and log back in I have to create it again.
0
bgcntry
Asked:
bgcntry
1 Solution
 
bchewCommented:
This is a duplicate question.  You should delete it before someone answers it.
0
 
avicoCommented:
Just put it in your .login file.
In this way it will run every time you log in.
0
 
gurpreetsCommented:
Just put the alias in your .profile file. This file runs automatically every time u login. So the alias will be created every time you login.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now