Results 1 to 4 of 4
hello guys,
i was trying to do some scripting practice a while ago and nothing seems to be happening in the terminal. kindly refer below. was i doing it right? ...
- 04-06-2009 #1
What these commands do?
hello guys,
i was trying to do some scripting practice a while ago and nothing seems to be happening in the terminal. kindly refer below. was i doing it right? or perhaps nothing was really suppose to happen?
what's it suppose to do anyway. in what way can this commands be useful to me? really appreciate anyone who can help enlighten :confused
got this sample commands from Advanced Bash-Scripting Guide:
Example 2-1. cleanup: A script to clean up the log files in /var/log
# Cleanup
# Run as root, of course.
cd /var/log
cat /dev/null > messages
cat /dev/null > wtmp
echo "Logs cleaned up."
- 04-06-2009 #2Linux User
- Join Date
- Jan 2006
- Posts
- 414
This looks like homework, we don't do your homework for you here.
- 04-06-2009 #3Debian GNU/Linux -- You know you want it.
- 04-06-2009 #4


Reply With Quote
