list all installed software
dpkg -l
list specified software install path
lut@lut-X405UA:~/Downloads$ dpkg -L ftp
/.
/usr
/usr/bin
/usr/bin/netkit-ftp
/usr/share
/usr/share/doc
/usr/share/doc/ftp
/usr/share/doc/ftp/BUGS
/usr/share/doc/ftp/copyright
/usr/share/doc/ftp/README.Debian
/usr/share/doc/ftp/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/netkit-ftp.1.gz
/usr/share/man/man5
/usr/share/man/man5/netkit-netrc.5.gz
view binary file
#firs moethod use od command
od binaryfile
#second method use vim
1 vim -b your_binary_file
2 vim
2 :%!xxd -g 1
vim find
:/string
n # find next
网友评论