Logo 
Search:

Unix / Linux / Ubuntu Articles

Submit Article
Home » Articles » Unix / Linux / Ubuntu » CommandsRSS Feeds

Ex mode command in unix

Posted By: Amara Miller     Category: Unix / Linux / Ubuntu     Views: 3185

Ex mode command in unix language.

Ex mode command

:w - saving your work.
:x and :wq save and quit.
:q! - abort.
:w new.sh same as save as.
:w! new.sh to overwrite the existing file.
:n1,n2w new.sh copy the lines from n1 to n2 to the new.sh
:.n new.sh copy the current line to the new.sh
:$w copy the last line to the file
:sh to move to the shell from the program.
  
Share: 


Didn't find what you were looking for? Find more on Ex mode command in unix Or get search suggestion and latest updates.

Amara Miller
Amara Miller author of Ex mode command in unix is from Frankfurt, Germany.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!