help set set -xv #echo $- #shopt -u #shopt -s #shopt -s | grep expand_aliases #shopt -q expand_aliases; echo $? #help shopt #shopt -p #shopt -s expand_aliases unalias mycmds1 mycmds2 mycmds3 2>/dev/null alias mycmds1="declare -F | /usr/bin/awk '{print \$NF}' | /usr/bin/sort" alias mycmds2="declare -F | /usr/bin/awk '{print $NF}' | /usr/bin/sort" alias mycmds3='declare -F | /usr/bin/awk "{print $NF}" | /usr/bin/sort' mycmds1 mycmds2 mycmds3 alias mycmds="alias -p | /usr/bin/awk -F= '{print \$1}' | /usr/bin/sort; \ declare -F | /usr/bin/awk '{print \$NF }' | /usr/bin/sort" mycmds
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
mycmds (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» Tweak your BASH startup files in shell osx mac bash bashrc unix startup profile
» Terminal window commands in shell osx mac bash unix osascript text window terminal color title bar escape sequence background
» Terminal window commands in shell osx mac bash unix code osascript text window terminal color title bar escape background ansi
» ANSI terminal color chart in shell osx mac bash unix code color escape ansi chart
» Counting lines in awk grep shell osx mac bash line unix count file sed directory lines wc
» Fine-tuning tab completion i... in shell osx mac bash bashrc unix cd inline tab complete completion inputrc
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails