Dear Brothers!
Need your help for the case where I am running one command on prompt and its giving us the correct output, but when i use the same command from shell its directs no output.:wall:
the command on command prompt is
ls -ltrh * | nawk '{if ($5~ '/$'M'/') print $9}' | grep -v "Aug 21" | grep "nohup"
and if I use the same command in shell is directs no output
ls -ltrh * | nawk '{if ($5~ '/$'M'/') print $9}' | grep -v "'$date'" | grep "nohup" > output.txt
Please help
---------- Post updated at 05:01 AM ---------- Previous update was at 03:22 AM ----------
hello anyone can help in this regards