Professional Documents
Culture Documents
Some Options of Vim: (For Using These Options Use Esc Key)
Some Options of Vim: (For Using These Options Use Esc Key)
1. Vim: is a simple text editor like notepad where we can write or edit anything.
Some Options of Vim: (for using these options use esc key)
➢ I: for insert
➢ Vim “file-name”. “extension”: for to open file
➢ :q for Exit without saving
➢ :q! for force quit
➢ :w for Save
➢ :wq for Save & exit
➢ DD for delete last line undo
➢ UU for redo
➢ :set number print line numbers
➢ :/”word” for to search any word
➢ :%s/”word”/”new-word” for to search and replace
➢ :%s/”word”/”new-word”/gc for to search and replace to ask for yes
obj-m += “File-Name”.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean:
• make “File-Name”. ko
• insmod “”
• After that write make on terminal.
4. Permission
• chmod 777 “file-name” for allow all users to read write everything.
• chmod 666 “file-name” for don’t allow all users to read write everything.
• And Some other Below are in the table: