Embedded 3.3 summary

This is the main lesson is to learn something linux operating system wailing. Some reports, use, development tools, and the like.
Install linux development environment: vm virtual machine (by means of simulation software pc)
why not choose a dual system (kernel interacts with the embedded development system crash)
linux distributions:
RedHat (cnetos7) Ubuntu (18.04) Deepin

linux introduction (the POSIX, gpl, the GNU):
1991 linux0.1 - linux5.0 the open source community gpl agreement
unix 78-79 c language and unix father of Dennis Ritchie (commercial software)
the POSIX standard: Portable Operating System Interface (cross platform of)
the GNU program (gun is not unix) gcc, gdb

linux use (vs win32 developer productivity and ordinary users simple)
linux command -shell command parser (cursor)
linux a little philosophy: everything is a file (common - directory d, equipment c / b, the link l)
character device / block device
special files: the pipe p, the stack F, s shared
operating authority file: R & lt readable, writable W, x execute
permissions description: group 3 (current user, and where the group of other users)
excellent ide: vscode
root Contents: parent directory of all files in
bin system administrator command command sbin dev device files etc profile
root administrator working directory (home) software (libraries, header files) usr install the
absolute path (root root directory) and a relative path (current )

User management commands:
su users to switch upgrade sudo permission to operate (ctrl + c to exit)
man User's Manual (q back) adduser to create user passwd (Change Password)
LS (Catalog -a all) chmod (modify file attributes r4w2x1) touch (create file )
CAT (file viewer) rm (-f Force file deletion) gedit (document editing)
gcc (compiler file ./)
directory operations command:
. cd (enter ... return / ~ root directory of the current working directory of the current)
mkdir (-p create rmdir or rm -fr deleted)
pwd (see absolute path) tar (cvzf zxvf compression decompression)
reboot (restart) shutdown (shutdown)
diff the Find sed awk grep

Released four original articles · won praise 0 · Views 143

Guess you like

Origin blog.csdn.net/weixin_46412477/article/details/104730813