“Linux Permanent Alias” Code-Antworten

Linux Permanent Alias

printf "%s\n" "alias shh='sqlplus hfdora/hfdora@hfd1" >> ~/.bashrc
source ~/.bashrc # for immediate effect

#or add your alias to ~/.bashrc directly
CertainBadProgrammer

So erstellen Sie permanenten Alias ​​unter Linux

# you can create alias in bash or linux by using "alias" command like this;

======================
# [Temporary Alias]
alias la="ls -la"
======================
# now you can use "ls -la" command just by typing "la" but it will only work
# till the current session

=============================================================
# [Permanent Alias]
step 1. > open  ~/.bashrc file in your favourite editor
step 2. > paste/write your alias their
step 3. > save and its done
==============================================================
Darkstar

Ähnliche Antworten wie “Linux Permanent Alias”

Fragen ähnlich wie “Linux Permanent Alias”

Weitere verwandte Antworten zu “Linux Permanent Alias” auf Shell/Bash

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen