Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

will bash script use alias

# cat script.sh
#!/bin/bash
# Script to check the alias output
shopt -s expand_aliases
alias ls1='ls -lrt'
ls1
Source by www.thegeekdiary.com #
 
PREVIOUS NEXT
Tagged: #bash #script #alias
ADD COMMENT
Topic
Name
9+6 =