/snap/core18/2999/usr/bin
NameSizeModeActions
aa-enabled226960755editdlrm
aa-exec226960755editdlrm
addpart226080755editdlrm
apt770755editdlrm
apt-cache770755editdlrm
apt-get770755editdlrm
arch350320755editdlrm
awk1254160755editdlrm
b2sum555120755editdlrm
base32390960755editdlrm
base64390960755editdlrm
basename350000755editdlrm
bashbug71150755editdlrm
bootctl349520755editdlrm
busctl676720755editdlrm
captoinfo840800755editdlrm
catchsegv33340755editdlrm
cautious-launcher8530755editdlrm
chage718162755editdlrm
chardet33890755editdlrm
chardetect33890755editdlrm
chattr143360755editdlrm
chcon636720755editdlrm
chfn764964755editdlrm
chrt308000755editdlrm
chsh445284755editdlrm
cksum350000755editdlrm
clear102400755editdlrm
clear_console103120755editdlrm
cloud-id3960755editdlrm
cloud-init4000755editdlrm
cloud-init-per21080755editdlrm
cmp472000755editdlrm
comm391280755editdlrm
compose181610755editdlrm
console-conf29310755editdlrm
core-sshd-host-keygen15650755editdlrm
csplit514160755editdlrm
ctstat228880755editdlrm
cut432240755editdlrm
c_rehash68060755editdlrm
dbus-cleanup-sockets102240755editdlrm
dbus-daemon2365840755editdlrm
dbus-monitor225200755editdlrm
dbus-run-session102240755editdlrm
dbus-send266080755editdlrm
dbus-update-activation-environment143200755editdlrm
dbus-uuidgen102240755editdlrm
deb-systemd-helper201420755editdlrm
deb-systemd-invoke44340755editdlrm
delpart226080755editdlrm
dh_bash-completion25500755editdlrm
diff1457520755editdlrm
diff3637040755editdlrm
dircolors472960755editdlrm
dirname309040755editdlrm
dpkg-deb1539520755editdlrm
du1005680755editdlrm
ec2metadata72970755editdlrm
edit181610755editdlrm
editor11121520755editdlrm
env350000755editdlrm
ex11121520755editdlrm
expand391280755editdlrm
expiry228082755editdlrm
expr472880755editdlrm
factor759920755editdlrm
faillog187280755editdlrm
fallocate267040755editdlrm
finalrd21520755editdlrm
find2380800755editdlrm
flock308800755editdlrm
fmt431920755editdlrm
fold350000755editdlrm
free185120755editdlrm
gdbserver6610160755editdlrm
getconf308560755editdlrm
getent312240755editdlrm
getopt144080755editdlrm
gpasswd758244755editdlrm
gpgv4413600755editdlrm
groups350000755editdlrm
growpart218830755editdlrm
head432240755editdlrm
helpztags25140755editdlrm
hostid309040755editdlrm
hostnamectl185040755editdlrm
i386187840755editdlrm
iconv637440755editdlrm
id432240755editdlrm
infocmp594640755editdlrm
infotocap840800755editdlrm
install1456640755editdlrm
ionice267040755editdlrm
ipcmk267680755editdlrm
ipcrm267040755editdlrm
ipcs512800755editdlrm
iptables-xml-0editdlrm
ischroot102800755editdlrm
join473200755editdlrm
jsondiff10180755editdlrm
jsonpatch36610755editdlrm
jsonpointer13420755editdlrm
jsonschema3980755editdlrm
kernel-install45080755editdlrm
last430880755editdlrm
lastb430880755editdlrm
lastlog185040755editdlrm
lcf77860755editdlrm
ldd54270755editdlrm
less1800640755editdlrm
lessecho146560755editdlrm
lessfile85640755editdlrm
lesskey242880755editdlrm
lesspipe85640755editdlrm
link309040755editdlrm
linux32187840755editdlrm
linux64187840755editdlrm
lnstat228880755editdlrm
locale505920755editdlrm
locale-check102400755editdlrm
localectl226000755editdlrm
localedef3387440755editdlrm
logger477920755editdlrm
logname309040755editdlrm
lsattr102400755editdlrm
lscpu717600755editdlrm
lsipc717600755editdlrm
lslocks352320755editdlrm
lslogins635680755editdlrm
lsmem430880755editdlrm
lsns389920755editdlrm
mawk1254160755editdlrm
mcookie308640755editdlrm
md5sum432240755editdlrm
md5sum.textutils432240755editdlrm
mesg103120755editdlrm
miniterm350980755editdlrm
mkfifo636720755editdlrm
mksquashfs1894320755editdlrm
mkswapfile8650755editdlrm
namei267040755editdlrm
nawk1254160755editdlrm
newgrp403444755editdlrm
nice350000755editdlrm
nl432880755editdlrm
no-apt770755editdlrm
nohup350000755editdlrm
nproc350000755editdlrm
nsenter310080755editdlrm
nstat266960755editdlrm
numfmt637360755editdlrm
od678000755editdlrm
openssl7239440755editdlrm
pager1707600755editdlrm
partx881440755editdlrm
passwd596404755editdlrm
paste350320755editdlrm
pathchk350000755editdlrm
pdb3613100755editdlrm
pdb3.6613100755editdlrm
perl20977200755editdlrm
perl5.26.120977200755editdlrm
pgrep267120755editdlrm
pinky391280755editdlrm
pkill267120755editdlrm
pldd145600755editdlrm
pmap308080755editdlrm
pr719600755editdlrm
print181610755editdlrm
printenv309040755editdlrm
printf513840755editdlrm
prlimit354240755editdlrm
probert21430755editdlrm
ptx719280755editdlrm
pwdx103120755editdlrm
py3clean78120755editdlrm
py3compile121190755editdlrm
py3versions117170755editdlrm
pydoc3790755editdlrm
pydoc3.6790755editdlrm
pygettext3215470755editdlrm
pygettext3.6215470755editdlrm
pyjwt33720755editdlrm
python345305840755editdlrm
python3-jsondiff10180755editdlrm
python3-jsonpatch36610755editdlrm
python3-jsonpointer13420755editdlrm
python3-jsonschema3980755editdlrm
python3.645305840755editdlrm
python3.6m45305840755editdlrm
python3m45305840755editdlrm
rcp1004960755editdlrm
rdma266960755editdlrm
realpath473200755editdlrm
rename.ul144080755editdlrm
renice144080755editdlrm
reset225280755editdlrm
resizepart389920755editdlrm
rev103120755editdlrm
rgrep300755editdlrm
rlogin7278480755editdlrm
routef2080755editdlrm
routel16560755editdlrm
rsh7278480755editdlrm
rtstat228880755editdlrm
run-mailcap181610755editdlrm
runcon350000755editdlrm
rview11121520755editdlrm
savelog104690755editdlrm
scp1004960755editdlrm
script307920755editdlrm
scriptreplay267040755editdlrm
sdiff512960755editdlrm
see181610755editdlrm
select-editor24420755editdlrm
sensible-browser12090755editdlrm
sensible-editor11090755editdlrm
sensible-pager4330755editdlrm
seq472880755editdlrm
setarch187840755editdlrm
setsid103120755editdlrm
setterm430880755editdlrm
sftp1539600755editdlrm
sg403444755editdlrm
sha1sum473200755editdlrm
sha224sum555120755editdlrm
sha256sum555120755editdlrm
sha384sum596080755editdlrm
sha512sum596080755editdlrm
shred596080755editdlrm
shuf554800755editdlrm
skill267040755editdlrm
slabtop185120755editdlrm
slogin7278480755editdlrm
snap236585690755editdlrm
snapctl-0editdlrm
snice267040755editdlrm
sort1131200755editdlrm
split559360755editdlrm
ssh7278480755editdlrm
ssh-add3462480755editdlrm
ssh-agent3626402755editdlrm
ssh-argv014560755editdlrm
ssh-copy-id106580755editdlrm
ssh-keygen4200000755editdlrm
ssh-keyscan4240960755editdlrm
stat800880755editdlrm
stdbuf472880755editdlrm
sudo1490804755editdlrm
sudoedit1490804755editdlrm
sudoreplay561280755editdlrm
sum391040755editdlrm
systemd-analyze15628880755editdlrm
systemd-cat103120755editdlrm
systemd-cgls144080755editdlrm
systemd-cgtop308160755editdlrm
systemd-delta226000755editdlrm
systemd-detect-virt103040755editdlrm
systemd-mount431040755editdlrm
systemd-path103040755editdlrm
systemd-resolve881360755editdlrm
systemd-run430800755editdlrm
systemd-socket-activate185040755editdlrm
systemd-stdio-bridge144080755editdlrm
systemd-umount431040755editdlrm
tabs143280755editdlrm
tac390960755editdlrm
tail678320755editdlrm
taskset308000755editdlrm
tee350320755editdlrm
test472880755editdlrm
tic840800755editdlrm
timedatectl8150755editdlrm
timedatectl.real226000755editdlrm
timeout395520755editdlrm
tload144240755editdlrm
toe143280755editdlrm
top1083040755editdlrm
touch1007280755editdlrm
tput184560755editdlrm
tr472880755editdlrm
truncate390960755editdlrm
tset225280755editdlrm
tsort350000755editdlrm
tty309040755editdlrm
tzselect154020755editdlrm
ucf406850755editdlrm
ucfq193670755editdlrm
ucfr107220755editdlrm
unexpand391280755editdlrm
uniq432240755editdlrm
unlink309040755editdlrm
unshare187120755editdlrm
unsquashfs1021040755editdlrm
update-alternatives471120755editdlrm
uptime103120755editdlrm
users350000755editdlrm
utmpdump226000755editdlrm
vcs-run69130755editdlrm
vi11121520755editdlrm
view11121520755editdlrm
vim.tiny11121520755editdlrm
vmstat349120755editdlrm
w185040755editdlrm
w.procps185040755editdlrm
wall308002755editdlrm
watch229520755editdlrm
wc432000755editdlrm
whereis271440755editdlrm
which9460755editdlrm
who514160755editdlrm
whoami309040755editdlrm
wpa_passphrase634880755editdlrm
x86_64187840755editdlrm
xargs718960755editdlrm
xdg-open380755editdlrm
xdg-settings17230755editdlrm
xxd185520755editdlrm
yes309040755editdlrm
zdump184880755editdlrm
[513840755editdlrm
Edit: /usr/bin/lesspipe (8564B)
#!/bin/sh # # lessfile/lesspipe # $Id: lessopen,v 1.4 1998/05/12 09:37:46 torin Exp $ # Plus POSIX sh changes by Y.Dirson # # Less filter for viewing non text files. # # Written by: Behan Webster # Many Modifications by Darren Stalder # Further Modifications by Thomas Schoepf # # combined lessfile and lesspipe to avoid duplication of decode stage # shell is sure icky. I'm real tempted to rewrite the whole thing in Perl # # Unfortunately, this means that I have filename dependencies sprinkled # throughout the code. If you don't want lessfile to be called that, # you'll need to change the LESSFILE envar below. # # Usage: eval `lessfile` or eval `lesspipe` # # less passes in: # $1 filename to be viewed with less (used by LESSOPEN) # and possibly (if used by lessfile) # $2 filename that was created during LESSOPEN TMPDIR=${TMPDIR:-/tmp} BASENAME=`basename $0` LESSFILE=lessfile # Helper function to list contents of ISO files (CD images) iso_list() { isoinfo -d -i "$1" isoinfo -d -i "$1" | grep -q ^Rock\.Ridge && iiopts="$iiopts -R" isoinfo -d -i "$1" | grep -q ^Joliet && iiopts="$iiopts -J" echo isoinfo -f $iiopts -i "$1" } if [ $# -eq 1 ] ; then # we were called as LESSOPEN # if the file doesn't exist, we don't do anything if [ ! -r "$1" ]; then exit 0 fi # generate filename for possible use by lesspipe umask 077 if [ $BASENAME = $LESSFILE ]; then TMPFILE=`tempfile -d $TMPDIR -p lessf` if [ -z "$TMPFILE" ]; then echo >&2 "Could not find essential program 'tempfile'. Exiting" exit 1 fi fi ( # possibly redirect stdout to a file for lessfile if [ $BASENAME = $LESSFILE ]; then exec > $TMPFILE; fi # Allow for user defined filters #if [ -x ~/.lessfilter -a -O ~/.lessfilter ]; then if [ -x ~/.lessfilter ]; then ~/.lessfilter "$1" if [ $? -eq 0 ]; then if [ $BASENAME = $LESSFILE ]; then if [ -s $TMPFILE ]; then echo $TMPFILE else rm -f $TMPFILE fi fi exit 0 fi fi # Decode file for less case `echo "$1" | tr '[:upper:]' '[:lower:]'` in *.a) if [ -x "`which ar`" ]; then ar tv "$1" else echo "No ar available"; fi ;; *.arj) if [ -x "`which unarj`" ]; then unarj l "$1" else echo "No unarj available"; fi ;; *.tar.bz2) if [ -x "`which bunzip2`" ]; then bunzip2 -dc "$1" | tar tvvf - else echo "No bunzip2 available"; fi ;; *.bz) if [ -x "`which bunzip`" ]; then bunzip -c "$1" else echo "No bunzip available"; fi ;; *.bz2) if [ -x "`which bunzip2`" ]; then bunzip2 -dc "$1" else echo "No bunzip2 available"; fi ;; *.deb|*.udeb|*.ddeb|*.ipk) echo "$1:"; dpkg --info "$1" echo echo '*** Contents:'; dpkg-deb --contents "$1" ;; *.doc) if [ -x "`which catdoc`" ]; then catdoc "$1" else # no catdoc, read normally if file is text. if ( file "$1" | grep ASCII 2>/dev/null >/dev/null); then cat "$1" else echo "No catdoc available"; fi fi ;; *.egg) if [ -x "`which unzip`" ]; then unzip -p "$1" EGG-INFO/PKG-INFO | \ sed '/^Description:/,/^\S/{/^Description:/d; /^\S/b; d}' echo unzip -v "$1" else echo "No unzip available" fi ;; *.gif|*.jpeg|*.jpg|*.pcd|*.png|*.tga|*.tiff|*.tif) if [ -x "`which identify`" ]; then identify "$1" else echo "No identify available" echo "Install ImageMagick to browse images" fi ;; *.iso) if [ -x "`which isoinfo`" ]; then iso_list "$1" else echo "No isoinfo available" echo "Install mkisofs to view ISO images" fi ;; *.bin|*.raw) if [ -x "`which isoinfo`" ]; then file "$1" | grep -q ISO\.9660 && iso_list "$1" else echo "No isoinfo available" echo "Install mkisofs to view ISO images" fi ;; *.lha|*.lzh) if [ -x "`which lha`" ]; then lha v "$1" else echo "No lha available"; fi ;; *.tar.lz|*.tlz) if [ -x "`which lzip`" ]; then lzip -dc "$1" | tar tvvf - elif [ -x "`which lunzip`" ]; then lunzip -dc "$1" | tar tvvf - else echo "No lzip or lunzip available"; fi ;; *.lz) if [ -x "`which lzip`" ]; then lzip -dc "$1" elif [ -x "`which lunzip`" ]; then lunzip -dc "$1" else echo "No lzip or lunzip available"; fi ;; *.tar.lzma) if [ -x "`which lzma`" ]; then lzma -dc "$1" | tar tfvv - else echo "No lzma available" fi ;; *.lzma) if [ -x "`which lzma`" ]; then lzma -dc "$1" else echo "No lzma available" fi ;; *.pdf) if [ -x "`which pdftotext`" ]; then pdftotext -layout "$1" - else echo "No pdftotext available"; fi ;; *.rar|*.r[0-9][0-9]) if [ -x "`which rar`" ]; then rar v "$1" elif [ -x "`which unrar`" ]; then unrar v "$1" else echo "No rar or unrar available"; fi ;; *.rpm) if [ -x "`which rpm`" ]; then echo "$1:"; rpm -q -i -p "$1" echo echo '*** Contents:' rpm -q -l -p "$1" else echo "rpm isn't available, no query on rpm package possible"; fi ;; *.snap) if [ -x "`which snap`" ]; then snap info "$1"; fi if [ -x "`which unsquashfs`" ]; then echo echo '*** Contents:'; unsquashfs -ll -d '' "$1" else echo "No unsquashfs available"; fi ;; *.tar.gz|*.tgz|*.tar.z|*.tar.dz) tar tzvf "$1" --force-local ;; *.tar.xz|*.txz) if [ -x "`which xz`" ]; then xz -dc "$1" | tar tfvv - else echo "No xz available" fi ;; *.whl) if [ -x "`which unzip`" ]; then unzip -p "$1" '*.dist-info/METADATA' | sed '/^$/q' unzip -v "$1" else echo "No unzip available" fi ;; *.xz) if [ -x "`which xz`" ]; then xz -dc "$1" else echo "No xz available" fi ;; # Note that this is out of alpha order so that we don't catch # the gzipped tar files. *.gz|*.z|*.dz) gzip -dc "$1" ;; *.tar) tar tvf "$1" --force-local ;; *.jar|*.war|*.ear|*.xpi|*.zip) if [ -x "`which unzip`" ]; then unzip -v "$1"; elif [ -x "`which miniunzip`" ]; then miniunzip -l "$1"; elif [ -x "`which miniunz`" ]; then miniunz -l "$1"; else echo "No unzip, miniunzip or miniunz available"; fi ;; *.7z) if [ -x "`which 7za`" ]; then 7za l "$1"; elif [ -x "`which 7zr`" ]; then 7zr l "$1"; else echo "No 7za or 7zr available"; fi ;; *.zoo) if [ -x "`which zoo`" ]; then zoo v "$1"; elif [ -x "`which unzoo`" ]; then unzoo -l "$1"; else echo "No unzoo or zoo available"; fi ;; esac ) 2>/dev/null if [ $BASENAME = $LESSFILE ]; then if [ -s $TMPFILE ]; then echo $TMPFILE else rm -f $TMPFILE fi fi elif [ $# -eq 2 ] ; then # # we were called as LESSCLOSE # delete the file created if we were lessfile # if [ $BASENAME = $LESSFILE ]; then if [ -n "$BASH" ]; then if [ ! -O "$2" ]; then echo "Error in deleting $2" > /dev/tty fi fi if [ -f "$2" ]; then rm -f "$2" else echo "Error in deleting $2" > /dev/tty fi fi elif [ $# -eq 0 ] ; then # # must setup shell to use LESSOPEN/LESSCLOSE # # I have no idea how some of the more esoteric shells (es, rc) do # things. If they don't do things in a Bourne manner, send me a patch # and I'll incorporate it. # # first determine the full path of lessfile/lesspipe # if you can determine a better way to do this, send me a patch, I've # not shell-scripted for many a year. FULLPATH=`cd \`dirname $0\`;pwd`/$BASENAME case "$SHELL" in *csh) if [ $BASENAME = $LESSFILE ]; then echo "setenv LESSOPEN \"$FULLPATH %s\";" echo "setenv LESSCLOSE \"$FULLPATH %s %s\";" else echo "setenv LESSOPEN \"| $FULLPATH %s\";" echo "setenv LESSCLOSE \"$FULLPATH %s %s\";" fi ;; *) if [ $BASENAME = $LESSFILE ]; then echo "export LESSOPEN=\"$FULLPATH %s\";" echo "export LESSCLOSE=\"$FULLPATH %s %s\";" else echo "export LESSOPEN=\"| $FULLPATH %s\";" echo "export LESSCLOSE=\"$FULLPATH %s %s\";" fi ;; esac #echo "# If you tried to view a file with a name that starts with '#', you" #echo "# might see this message instead of the file's contents." #echo "# To view the contents, try to put './' ahead of the filename when" #echo "# calling less." else echo "Usage: eval \`$BASENAME\`" exit fi