マガジンのカバー画像

自己メモ

18
運営しているクリエイター

#ubuntu

Linux(Ubuntu) vim command

Linux(Ubuntu) vim command

1.Open file sudo vim [file]

2.Edit press i to go to edit mode
press esc to end edit mode

3. Save and Exit input :wq, then hit enter
(for read-only file)put a “!”, so we have :wq!