[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to restart network without rebooting

Andrew Falanga wrote:
> >sh /etc/netstart

> The syntax for the above command is interesting.  While logged in as 
> root and current dir was /etc, I did ./netstart and was promptly told I 
> didn't have permissions.  Evidently, the proper way to run the netstart 
> script is with the above command. 

That's because /etc/netstart has no executable flag. So you have to feed
it to /bin/sh yourself like with all shell scripts.