Clear screen after every netstat update
Hi folks,
When i past this on the shell, the command rungs, but it does not clear previous data on each update. Quote:
|
Since this appears to be a windows batch file the correct syntax for clearing the screen is cls not clear.
|
Quote:
nop, problem remain same Quote:
|
Is this a shell script in linux?
Then goto command doesn't works. So you have to put 'clear' command after netstat command. Also for looping you would use the keywords 'while' or 'until'. |
Then please explain your environment i.e is this just a command window etc.
|
Thanks folks,
this is centos 6.x shell. ill take a look at while and until functions. |
Here's a good cli tutorial http://rute.2038bug.com/index.html.gz
|
Quote:
|
All times are GMT -5. The time now is 06:31 PM. |