1. minicom
sudo minicom -s
#Open
The basic operation of minicom is as follows:
1) You need to use Ctrl+a to enter the setting state
2) Press z to enter the setting menu
O key: open configuration options; W key: auto scroll screen.
C key: clear the display content of the screen; B key: browse the history display of minicom;
X key: Exit minicom, you will be prompted to confirm the exit
Two, vim use
After vim +n document name opens the document, locate the nth line
vim, after entering the vim interface, use the command: e document name to open the document
:q :q! :wq :w
:qa or qa! Leave vim with multiple documents open. a means all.
:sh Temporarily exit vim and enter the shell command line. After executing the command, ctrl+d or exit exit and re-enter vim to edit and continue editing. Under the shell command, execute ctral+l to clear the screen
:! command temporarily leave vi to display the result of executing command in command line mode! For example: !ls executes the shell command ls during editing
:set nu Make the file under editing display the line number :set nonu Contrary to the previous command, do not display the line number
:set ts=4 : set tab stops for text input :syntax on : syntax highlighting
:set shiftwidth=4 : indent 4 spaces :set autoindent : auto indent
dd deletes the current line, yy copies the current line, p pastes
3.u:undo; c-r:redo
4.v means visualization, press v to select the area through hjkl, then press y to copy, and d to delete
5. Cursor movement: w the beginning of the next word, e the end of the next word, % means from the current ([{move to its matching)]}, * and # represent the beginning of the next and previous matching word of the current word respectively
6. $ means the end of the line, 0 means the beginning of the line, gg means the beginning of the first line, G means the beginning of the last line, 4G means the beginning of the fourth line
7. You can add the number N before the command to indicate repeating N operations
8. gU becomes uppercase, gu becomes lowercase
3. Install the deb package
sudo dpkg -i *****.deb