# Redirection does not work in Solaris

view story

http://www.unix.com – Hi all, i have been trying to direct o/p of one command to file, but i don get any entries in file but ouptput get displayed on command prompt. I have tried many options but still , it does not work. please guide. here is the command Code: -bash-3.00\$  /usr/local/bin/sudo lpstat -p | grep -i "not-found" 2> file11 Password: Failed to get printer info for rmp_markpoint: not-found Failed to get printer info for rp_rmp_fin_tst: not-found Failed to get printer info for rp_rmp_pur_tst: not-found Failed to get printer info for rp_rmp_hr_tst: not-found Failed to get printe (HowTos)