korn shell alias with arguments
alias xxmaillogsearch=’_(){ ls /var/log/maillog* | sort -r | xargs zcat -f | grep -i “$@”; }; _’ Attention: All the spaces and semicola are important.
alias xxmaillogsearch=’_(){ ls /var/log/maillog* | sort -r | xargs zcat -f | grep -i “$@”; }; _’ Attention: All the spaces and semicola are important.
The hotlist file resides inside of ~/.config/mc/hotlist ENTRY “alias” URL “sh://root@1.2.3.4:22” ENTRY “alias2” URL “sh://root@1.2.3.42:22” access the hotlist with CTRL + \