You can use tree command to print the directory tree in a terminal, just install “tree” application:
root# apt-get install tree
or use find and sed 😉
find . -type d | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"
Just another WordPress site
You can use tree command to print the directory tree in a terminal, just install “tree” application:
root# apt-get install tree
or use find and sed 😉
find . -type d | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"
List all rpm package with date and time information, use the below given command to list all rpm package with date-stamp information:
rpm -qa --last
–cut
iotop-0.4.3-7.8.1 Fri Aug 7 12:24:02 2015
libgtop-lang-2.28.0-1.9.24 Fri Aug 7 12:20:57 2015
libgtop-2.28.0-1.9.24 Fri Aug 7 12:20:10 2015
libgtop-2_0-7-2.28.0-1.9.24 Fri Aug 7 12:20:06 2015
–cut
and for a single package:
rpm -q --last package-name