Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

edit file terminal

vim filename.txt

//press i to enter insert mode
//press esc to exit insert mode
type :wq then enter to leave vim
Comment

how to edit a file in terminal windows

C:> notepad somefile.txt
Comment

Linux, edit file in terminal

1. nano filepath.extension

2. vim filepath.extesion
	2.a press i //for edit mode
    2.b Enter Esc
    2.c :wq // write this at the end of file to save the edited part
    2.d :q! // without save and quite
Comment

PREVIOUS NEXT
Code Example
Shell :: bash for each line of file 
Shell :: python on pop os 
Shell :: adb install apk 
Shell :: How to find information about my RAM on linux 
Shell :: how to check if in which folder are you present in linux 
Shell :: free todo linux 
Shell :: how to update linux 
Shell :: flush dns 
Shell :: how to install pandoc 
Shell :: delete directory mac terminal 
Shell :: git clone command 
Shell :: edit crontab daily 
Shell :: docker ftp client 
Shell :: grep not multiple patterns 
Shell :: how to rename many files at once linux 
Shell :: git push ci skip 
Shell :: git remove file from untracked 
Shell :: install yarn 
Shell :: screen quit session 
Shell :: ram info unix 
Shell :: head of zipped file 
Shell :: git push with gpg key 
Shell :: uninstall all microsoft apps powershell 
Shell :: terminal command to create new file 
Shell :: cp bash 
Shell :: git reset remote 
Shell :: how to print substring in bash script 
Shell :: install brave browser 
Shell :: git already up to date but not 
Shell :: git push heroku master everything up-to-date 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =