Search Results

Search: Posts Made By: ngaisteve1
4,934
Posted By Franklin52
Try: echo $0 In a script it gives the name...
Try:
echo $0

In a script it gives the name of the script and on the prompt the name of the shell.
8,527
Posted By wempy
well, to delete all mail in an inbox, without...
well, to delete all mail in an inbox, without reading it you can

cat /dev/null >/var/spool/mail/<username>

so a cronjob to do that would look like

13 5 * * * cat /dev/null...
210,940
Posted By yamiear
deleting mail in Unix type mail d *...
deleting mail in Unix

type mail

d * will remove all mail

d 1 3 deletes the 1st and 3rd messages
d 1-3 deletes messages 1 through 3
d * deletes all your messages
d deletes the current...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy