Quote:
Originally Posted by bushra
if i change the device name like eth0 t0 xxxx,and then save it,where this file will save? and i want to make a script that takes input from that saved file.
|
I still have no clue what you are trying to do......
First, if you change the device name, then something in your networking is probably not going to work.
Second, whenever you rename a file,
you specify where it goes. Example:
mv filename newname ##the renamed file is in the same directory
mv filename /path/newname ##the renamed file is in the location specfied by /path/
Finally, if you rename eth0, then how will information get INTO that file so that you can read from it.
Again, please describe the overall problem you are trying to solve---i.e.
WHY do you want to rename eth0 and then read from it?