• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1664
  • Last Modified:

sudo service network restart not working !!

I am not able to restart the service

sudo service network restart

please find error

 sudo service network restart
sudo: service: command not found

0
jaisonshereen
Asked:
jaisonshereen
  • 2
1 Solution
 
jaisonshereenAuthor Commented:
Moreover i have the problem with

sudo ifconfig
sudo: ifconfig: command not found
0
 
Deepak KosarajuSr. Monitoring Architect - Nagios/Op5 SME - ConsultantCommented:
Give Complete absolute path like
sudo /sbin/ifconfig
sudo /sbin/service network restart

If you are not sure where the command is located use command called
which <command name>
[user1@test04 ~]$ which service
/sbin/service

Gud luck
0
 
jaisonshereenAuthor Commented:
thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now