Download binary package and install (or alternatively: build from sources and install):
wget 'https://github.com/sigsergv/shell-utils/releases/download/1.7/more-shell-utils_1.7-1_all.deb'
sudo dpkg -i more-shell-utils_1.7-1_all.deb
Several useful scripts that really improve unix-shell experience.
Find file/directory by part of file name, starting from current directory.
% ff .cpp
./eclibrus/src/preferencesdialog.cpp
./eclibrus/src/moc_exportbooksprogress.cpp
...
Also you can use flag -n
to NOT ignore case (it's ignored by default) and flag -a
to print absolute paths.
Print canonical file name (resolve all symlinks, eliminate .
and ..
).
% canonical-name 000-default.conf
/etc/apache2/sites-enabled/000-default.conf
Fix all permissions (recursively) to all files starting with the current directory, change all files permissions to 0644 and all directories to 0755.
% fixeprms
%
Remove shell escape special characters from stdin and put to stdout
% uncolor < log.txt > clear.txt