Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux edit file

sudo nano filename.ext
Comment

edit a file linux

vi filename.extension

//press i to insert into file
//press ESC to enter menu
//Type :wq to save data
Comment

edit files from terminal linux

nano FileName.Extension

// nano MyWork.txt
// nano MyScript.py
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 :: Install Redis GUI on Ubuntu 20.04 
Shell :: find file location linux 
Shell :: git exclude folder 
Shell :: tail remove newline 
Shell :: creating bucket in aws cli 
Shell :: stop avd 
Shell :: To use, run # sudo amazon-linux-extras install nginx1 
Shell :: windows terminal 
Shell :: how to disable a user linux 
Shell :: jq select by field 
Shell :: Add Docker’s official GPG key: 
Shell :: push image to docker hub 
Shell :: instaling composer linux 
Shell :: convert dos to unix with tr 
Shell :: mount network drive from windows wsl ubuntu 
Shell :: install docker-machine linux 
Shell :: ssh tunnel map 
Shell :: howto register dll windows 10 
Shell :: how to change my default branch in git 
Shell :: push amended commit 
Shell :: git diff between two repos 
Shell :: ssl erzwingen htaccess 
Shell :: move file in terminal 
Shell :: error: resource android:attr/lStar not found. 
Shell :: set up ssh for github 
Shell :: check if cuda installed 
Shell :: vscode publish to github organisation 
Shell :: linux unique lines 
Shell :: virtualbox ubuntu 
Shell :: makefile parameter 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =