LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 12-23-2016, 07:50 AM   #1
v1p3r-R
LQ Newbie
 
Registered: Nov 2016
Location: India
Distribution: Kali Linux
Posts: 10

Rep: Reputation: Disabled
Permanently save changes while editing html source code


How to save changes while editing or modifying html source code in linux
 
Old 12-23-2016, 07:52 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by v1p3r-R View Post
How to save changes while editing or modifying html source code in linux
Code:
^s
Ctrl+s
in the editor you are using?
it is a universal command.

Last edited by BW-userx; 12-23-2016 at 07:54 AM.
 
Old 12-23-2016, 08:48 AM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,011

Rep: Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194Reputation: 3194
Question back would be, how have you done it in any other OS???
 
Old 12-25-2016, 06:52 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
In vim it's :w

In emacs it's Control+X Control+S

In nano it's Control+O

In various gui things it's probably control+S, or click File->Save

It really depends on what you are using as an editor. And if your storage medium is write-able and you have permissions to do so.
 
Old 12-25-2016, 07:47 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Something you may find helpful is to configure CVS (the Concurrent Versions System), it may be installed on your system by default, it may not, but it's easy to find with your distribution software collection.

CVS is a version control system; i.e., you place a text file in the CVS repository then check it out for editing, edit, save it back, The nice thing is that you can manage the versions that you've saved (of just that file), you have a complete record of changes that were made and, if necessary, you can "roll them back" to a previous version.

It's not hard to learn, it's easy to use, and it beats the heck out of saving a bunch of files that you've edited and try to figure out which one needs fixing.

Hope this helps some.

Last edited by tronayne; 12-25-2016 at 07:48 AM. Reason: Hate the blasted laptop keyboard!
 
Old 12-25-2016, 03:18 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,628

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
as per the "genral" post by the owner of the site
post reported
 
Old 12-25-2016, 08:41 PM   #7
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Question

Quote:
Originally Posted by John VV View Post
as per the "genral" post by the owner of the site
post reported
@John VV: which post did you 'report'? (I don't understand why, unless #3)
Or did you mean *"Thread"* [reported]? (==post#1)
Or maybe my post in OP's other thread? (the answers here look ok to me)

fyi all, I just realized how to spot Threads likely needing response:
in ViewLatestPosts, look for ones with name of LastPost == ThreadStarter.
 
Old 12-25-2016, 09:25 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,628

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
posters like "v1p3r-R" have become a problem issue

a one line that mostly dose not make any sence
or dose not give ANY NEEDED information
and with the OP's NEVER responding

just making new threads that are as unintelligible
 
Old 12-25-2016, 09:35 PM   #9
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,806

Rep: Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777
Quote:
Originally Posted by v1p3r-R View Post
How to save changes while editing or modifying html source code in linux
There is no question in that post, so stop trying to answer it.
It appears the title of an article, but with no URL or content it is difficult to judge.
 
Old 12-27-2016, 12:45 PM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,886
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
This thread has been closed.

v1p3r-R, many of your posts are not created in a manner which will allow other users to understand your questions or determine if they are questions.

You do not follow-up on many of your posts.

Please review the following links to help you with creating better thread questions:

Welcome to LQ

Project tools FAQ describing hot best to write an issue
 
2 members found this post helpful.
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
editing in firefox shows html(?) source of the original post? JZL240I-U LQ Suggestions & Feedback 9 06-08-2015 07:46 AM
Editing Linux Source Code Vinu Varghese Linux - General 13 11-01-2014 09:47 PM
Editing Maelstrom source code dave247 Linux - Software 12 10-26-2010 09:56 AM
Opening & Editing the Source Code rockershive Programming 3 08-04-2007 03:17 AM
HTML code to use to save a downloaded file with an other name that the URL jlinkels Programming 4 06-21-2007 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration