Common Commands for ARM Development Boards

Common Commands for ARM Development Boards

1reboot means to restart.

2source makes the modified files take effect immediately, avoiding the problem of having to restart for the changes to take effect. For example, if we modify /etc/profile, the changes will not take effect immediately. In this case, we can enter source /etc/profile to apply the changes.

There will be more updates in the future.

3chmod -R 777 /home/edu/practice sets all file permissions in the practice folder to 777.

4、Compress a single file: gzip -v etc.c The generated compressed name is: etc.c.gz.

5、Compress multiple files: gzip -v * // Compress all files in the current directory. * matches any non-hidden files and shows detailed information during the command execution.

6bzip2 has a higher compression ratio than general compression. Using the -s option with the bzip2 command can make it use fewer system resources, but the compression will be slower.

7bzip2 -v main.c // Shows detailed information about the compression process.

8、Compress multiple files: bzip2 -v *

9shutdown -r now // Restart the system immediately.

10shutdown -h now // Shut down the system immediately.

11shutdown -h +10 “ this is a warning information ” // Shut down the system after 10 minutes.

Leave a Comment

Your email address will not be published. Required fields are marked *