Sunday, April 27, 2014

vim

  •   vim command examples
    
Go to the 143rd line of file

$ vim +143 filename.txt
Go to the first match of the specified
$ vim +/search-term filename.txt
Open the file in read only mode.
$ vim -R /etc/passwd
 
 
 
 

Related Posts:

  • Introduction of Shell Scripting What is Shell ?? A shell is simply a program that is used to start another program. Shell accepts your instruction or commands in English (mostly) and if its a valid command, it is pass to kernel. All oper… Read More
  • File and Directory Permissions Permissions is a type of good security features in Linux operating system. Permissions is used to assign on files as well as on directories. There are three types of files permissions: Read (r) - To view a file's … Read More
  • Chage Command with example to manage Linux password expiration v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} chage - change user password expiry information  chage ch… Read More
  • Introduction - What is Networks ? What is Network ? A collection of computers, servers, mainframes, network devices, peripherals, or other devices connected to one another allowing for data to be shared and used. A great example of a network… Read More
  • Types of Networks In the world of computers, networking is the practice of linking two or more computing devices together for the purpose of sharing data. Networks are build with a mix of computer software and computer hardware. … Read More

0 comments:

Post a Comment