10

rm with verbose

view full story
linux-howto

http://www.unix.com – Hi, Wanted help regarding displaying of message when 'rm' deletes a file. Code: cd /tmp/sam echo "Listing xxx files:" ls -lrt sam* echo "Deleting xxx files:" rm -vrf sam* echo "Checking for any xxx files:" ls -lrt sam* I'm using HP-UX B.11.23. Getting error message for 'rm' command: rm: illegal option -- v Usage: rm [-Rfir] file ... Could anyone please help in this regard. (HowTos)