Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to add alias in linux

alias l="ls -al"
Comment

linux alias

# 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
==============================================================
Comment

linux add alias

# syntax
# alias *<alias-name>="*<what-alias-represents>"

# example
alias ll="ls -lrt"
Comment

How to use alias in Linux bash

alias ls='ls -F'
alias ll='ls -lh'
Comment

PREVIOUS NEXT
Code Example
Shell :: removing letstencrypt from domain 
Shell :: command prompt flashes and closes 
Shell :: how to run git bash from powershell 
Shell :: set environment variable powershell 
Shell :: expo install package version 
Shell :: how to delay a script from running linx terminal 
Shell :: open current folder in terminal linux 
Shell :: push to existing repo github 
Shell :: bash change command prompt 
Shell :: start stop restart pm2 
Shell :: scrapy spider shell from spider 
Shell :: gnome shell extensions 
Shell :: why gitignore does not work 
Shell :: select my keyboard ubuntu server 
Shell :: echo new line to file 
Shell :: git delete commit history 
Shell :: start grafana server wsl 
Shell :: bash create symbolic link to other symbolic links 
Shell :: umask linux 
Shell :: docker NoRouteToHostException: No route to host (Host unreachable) 
Shell :: attach iam role to ec2 instance cli 
Shell :: add minutes to time in excel 
Shell :: get last 10 lines of log 
Shell :: https://repo.packagist.org could not be fully loaded 
Shell :: check port status linux 
Shell :: using docker as a managed vm 
Shell :: how to Add new commit to the existing Git tag 
Shell :: perl install Switch 
Shell :: screenshot in ubuntu 
Shell :: email client for linux 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =