Shell script command problem
Hello everyone.. Just trying to write a shell script to send automated email of my gaming server log files every so often but i got stuck here
Code:
a=`ls ~/management/logs/DoNotStarveTogether | grep -c "chat_log"` but if i write it as Code:
ls ~/management/logs/DoNotStarveTogether | grep -c "chat_log" |
Nevermind it assigns but does not show u need echo to show it.. I am sorry mods can close the thread..
|
Glad you found your own solution :) Please mark as SOLVED from the Thread Tools above :)
|
All times are GMT -5. The time now is 02:51 AM. |