Search Results

Search: Posts Made By: malfolozy
2,565
Posted By malfolozy
Hello, the code does'nt seems to be working as it...
Hello, the code does'nt seems to be working as it doesn't change anything in the file.


whiptail --title "Abc" --menu "Your choice" 16 78 5 \
"1)" "ONBOOT" 2>somefile

CHOICE=$(cat somefile)...
2,565
Posted By malfolozy
Hello, Basically, the file that i wanted to...
Hello,

Basically, the file that i wanted to edit is the /etc/sysconfig/network-scripts/ifcfg-eth0. Therefore, there are more than just one thing inside.

Regards,

Malfolozy
2,565
Posted By malfolozy
Replace the words in the file to the words that user type?
Hello,

I would like to change my setting in a file to the setting that user input.

For example, by default it is

ONBOOT=ON

When user key in "YES", it would be

ONBOOT=YES
...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 02:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy