#!/bin/bash
## Before enabling xpg_echo
echo "welcome to\n"
echo "shell script training\n"
shopt -s xpg_echo
## After enabling xpg_echo
echo "welcome to\n"
echo "shell script training\n"
# Before disabling aliases
alias l.='ls -l .'
l.
# After disabling aliases
shopt -u expand_aliases
l.
## Before enabling xpg_echo
echo "welcome to\n"
echo "shell script training\n"
shopt -s xpg_echo
## After enabling xpg_echo
echo "welcome to\n"
echo "shell script training\n"
# Before disabling aliases
alias l.='ls -l .'
l.
# After disabling aliases
shopt -u expand_aliases
l.
No comments:
Post a Comment