“Buat alias ubuntu” Kode Jawaban

Buat alias ubuntu

sudo nano ~/.bashrc

#at the end of the file, add your alias
alias name_of_alias="your_command"
#save the file

source ~/.bashrc
CodeHunter

Linux alias permanen

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

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

Atur alias di Ubuntu

# First of all open terminal

Ctrl + Alt + T

# Open ~/.bash_aliases by running below command (~/.bash_aliases not ~/.bash_alias)
gedit ~/.bash_aliases 

# Add your alias and save 
alias name_of_alias="command you want to execute"

#close terminal
then open terminal again and check 
Mr. Samy

Jawaban yang mirip dengan “Buat alias ubuntu”

Pertanyaan yang mirip dengan “Buat alias ubuntu”

Lebih banyak jawaban terkait untuk “Buat alias ubuntu” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya