How to edit/change IP information in the terminal?
I don't know linux command prompt very well. I need to be able to change/edit the ethernet card information in the terminals ome how. If I just knew the commnad....
|
for non-permanent changes you can use 'ifconfig'.
routes may be affected. |
The ifconfig command can help you. It has quite a lot of options, so to find out how to use it, read the manual by entering "man ifconfig" in the command line (or on google).
|
Quote:
|
# vi /etc/sysconfig/network-scripts/ifgfc-eth0
The above, assumes that you have knowledge of using Vi to edit text files. |
Quote:
|
Quote:
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 04:04 AM. |