Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 22, 2024, 05:24:43 AM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
General Networking Support in Linux
»
Saving scripts command
« previous
next »
Print
Pages: [
1
]
Author
Topic: Saving scripts command (Read 6219 times)
engineerjude
Linux Noob !
Posts: 21
Saving scripts command
«
on:
June 03, 2004, 12:34:11 PM »
Dear Linux friends.
Please help me out. I have been facing problems with internet sharing in Linux. I used redhat ver9. After inserting scripts for internet sharing, what command can I apply to save the inserted scripts through vi /etc/rc.local
Pls help.
Logged
Ricky
LST CareTaker
Specially Skilled
Posts: 2381
Saving scripts command
«
Reply #1 on:
June 03, 2004, 02:35:57 PM »
ah..
This is already discussed a lot.. anyway..
to edit a file you have to do ..
Code:
[Select]
vi <path to file with name of file>
Then to do editing.. press "insert" then u will be able to edit or type new content in that file then. to save first press "Esc" to come out from edit mode . Then give command to save it. vi require u to press ":" to give give any command so to save do..
:save "filename with path"
to exit..
:q
Logged
engineerjude
Linux Noob !
Posts: 21
Saving scripts command
«
Reply #2 on:
June 19, 2004, 07:50:49 PM »
I couldn't understand the reply yu gave me concerning saving commands or scripts
Logged
Ricky
LST CareTaker
Specially Skilled
Posts: 2381
Saving scripts command
«
Reply #3 on:
June 20, 2004, 04:02:49 AM »
When you finish editing a file, press "esc" then press ":save <path to file > "
after that press ":q" to exit.
BTW.. r u sure wht i m understanding is wht you want to know ?
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
General Networking Support in Linux
»
Saving scripts command