Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

hwo to add custom commands in bash

# Go to user root directory
cd ~/

# Open bashrc file in your text editor
vi .bashrc

# Write custom alias command
alias cls="clear"

# Source your .bashrc file
source .bashrc
Comment

PREVIOUS NEXT
Code Example
Shell :: windows how to access wsl from explorer 
Shell :: change owner of file in linux 
Shell :: how to reset back to commit id in git 
Shell :: docker run name 
Shell :: mac address windows command 
Shell :: clear metro bundler cache 
Shell :: infinite loop bash 
Shell :: install alacritty ubuntu 
Shell :: how to undo a git stash 
Shell :: install leafpad ubuntu 2021 
Shell :: linux show uid 
Shell :: install discord bot on server 
Shell :: see file size linux 
Shell :: instalacion de angular cli 
Shell :: restart ubuntu 18.04 server 
Shell :: pesquisar codigo commit 
Shell :: linux get dir of file 
Shell :: how to install pip on linux 
Shell :: nvm change node version 
Shell :: heroku rebuild without push 
Shell :: bash split string to array 
Shell :: ubuntu install tar.xz 
Shell :: node-sass run 
Shell :: put bash script execution output in a file 
Shell :: unix check ram 
Shell :: how to use zsh on mac 
Shell :: intsall ifconfig mac os 
Shell :: gnome files command 
Shell :: committed to wrong branch 
Shell :: bash copy file and rename 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =