PDA

View Full Version : ifconfig and route command


too_pac
2008-01-23, 09:49 PM CST
can any1 tell me how to use both commands because when i used it the output will only be

bash: ifconfig: command not found

bash: route: command not found

scottro
2008-01-23, 10:14 PM CST
http://home.nyc.rr.com/computertaijutsu/rhpath.html

Zigzagcom
2008-01-23, 10:28 PM CST
If you are logged in as a regular user, try /sbin/ifconfig. That will at least show you some info, but in order to use the commands fully, you might want to switch user and become root

[user@localhost ~]$ /sbin/ifconfig
[user@localhost ~]$ su -
Password:
[root@localhost ~]#ifconfig

too_pac
2008-01-28, 09:01 AM CST
how do i switch user and become root besides typing su because i've tried using the command with su -