1. 关闭自动休眠
To disable automatic sleep in Ubuntu 22.04, you can follow these steps:
- Open the "Settings" application by clicking on the gear icon in the top right corner of your screen.
- Click on "Power" in the left-hand sidebar.
- In the "Power Saving" section, set the "Automatic Suspend" dropdown menu to "Off".
Once you have completed these steps, your system should no longer automatically go to sleep after a period of inactivity.
2. 创建文件
gedit 文件名.后缀
3. 压缩文件
tar -czvf *.tar.gz folder
4. 解压文件
tar -xzvf *.tar.gz