1: Background
I am a 31 embedded engineer. During the postgraduate entrance examination, I experienced the choice between work and postgraduate entrance examination in the process of preparing for the postgraduate entrance examination for less than a year. During the examination preparation process, I learned to suppress loneliness in my stomach, and I entered a state of peace and positiveness. I doubted myself for a short time in the middle, and wanted to give up. After a little release, maybe when I do something again, thinking back to these days can help me to believe in myself more firmly, I can stick to this thing, I found a brand new one who can endure these difficulties and stick to the end. It's like you may be thinking about how I will release after the exam during the preparation process. In fact, the moment when the exam is actually finished, it is not the release you imagined, but the calm, because you who persisted to the end are no longer the original self, and you are still the same. There are 3 days of postgraduate entrance examination results, and you hope that the small partners who take the road to complete the examination seriously will have a matching result, and no matter what the result is, you will get a brand new self.
This article records my daily tasks and learning content to witness the growth of an excellent embedded engineer.
Two ways of learning
C language+51 MCU+32 MCU+ARM+linux
Day1 Use and operation commands of linux in Ubuntu
1. File structure
2: Common commands
2.1 ls command
ls show files
ls -a show all files
ls -l show details
ls -lh show file details and size
ls path displays the files under the path
ls -lha path
2.2 cd command
cd pathname
cd / root directory
cd ~ to enter the home directory
cd . current directory
cd .. upper directory
cd../.. to enter the upper-level directory
cd - go to the last directory
2.3 pwm command
show its path
2.4 whoami command
Show currently logged in user
2.5 mkdir command
mkdir dirl creates dir1 subdirectory
mkdir path/dir1 creates the dir1 directory at this path
mkdir dir1 dir2 dir3 create three parallel directories in this directory
mkdir -p dir1/dir2/dir3 create nested three files
2.6 rmdir command
delete empty directory
2.7 touch command
touch filename //create new file
2.8 rm command
rm file name//delete file, +-r delete directory file
rm -f file ignores the prompt and deletes it directly
2.9cp command
cp file1 file2 Copy the content of file1 named file2
cp file1 dir1 put a copy of the file in the directory
cp -r dir1 dir2 Copy dir1 to dir2
2.10: mv command
similar to cp move
2.11 Other commands
cat cat file//View file content cat -n file name
clear or ctrl+l to clear the screen
The exit command switches the last user or exits the terminal
tab-completion command file