C
C
CerTunia2020-06-10 09:46:44
linux
CerTunia, 2020-06-10 09:46:44

Where can I find a file with all TIME aliases in linux?

I know how to output all aliases to the console with the alias command, this is not what I need.
I know about the .bashrc file, but it contains only permanent aliases.

I need a file with aliases, which, for example, are created by the command alias hello='echo hello'
I need the file itself where I will see the hello alias after it is created

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2020-06-10
@CerTunia

"temporary" aliases are not stored in a file, they are stored in your session's memory.
Actually in .bashrc aliases are also not "stored" directly for use, these files are simply executed when the session is started and "stored" in memory.

V
Vladimir Korotenko, 2020-06-10
@firedragon

man alias
in your case just type alias
All aliases will be displayed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question