set environment variable vim .bashrc
Make environment variables take effect source .bashrc
Two, ubuntu shortcut keys
1. Ctrl + W: Close the current Nautilus window
2. Ctrl+T: Open a new Tab in Nautilus
3. Ctrl + H: Toggle hidden files (folders) to display or not to display
4. Ctrl+E: Send the current document to an Email
5. Ctrl+Q: Quit the application
6. Ctrl + 1/2: Change the folder view to icon or list mode
7. Ctrl + Shift + W: Close all Nautilus windows
8. Ctrl + Shift + N: Create a new folder
9. Ctrl + Alt + L: lock screen, if you want to walk away for a while without letting others see your screen
10. Ctrl + Alt + D: show desktop/restore open windows
11. Ctrl + Alt + Backspace: Shut down the X server
12. Ctrl + Alt + F1: switch to the first virtual terminal
13. Ctrl + Alt + F2(F3)(F4)(F5)(F6): select a different virtual terminal</p>
14. Ctrl + Alt + F7: switch to the current login session
15. Ctrl+Alt++: switch to next X resolution (depending on X configuration)
16. Ctrl+Alt+-: switch to previous X resolution (depending on X configuration)
17. Alt+Tab: toggle display between different applications
18. Alt + F: Open the application menu
19. Alt + F2: Open the dialog for running the application
20. Alt + F5: Cancel the maximum words of the current window
21. Alt + F7: Program move window option, you can use the arrow keys on the keyboard to move the window
22. Alt + F8: Use the arrow keys on the keyboard to change the current window size
23. Alt + F9/F10: Minimize and maximize the current window
24. Alt + Up/Down Arrow: move to parent directory
25. Alt + Left/Right Arrow: Back and Forward on Nautilus
26. Alt + Enter: Display the attribute information of the selected file or folder
27. Alt + Home: Move directly to your home directory
28. Alt + Shift + Tab: similar to Alt+Tab for window switching, using reverse order
29. Alt + Ctrl + Left/Right Arrow: Move to workspace
30. Alt + Ctrl + Shift + Left/Right Arrow: Move the current window to another workspace
31. Alt + Shift + Up Arrow: Initialize a cool looking window switching interface, so you can switch with the arrow keys
32. Win+E: Shows all workspaces, easy to switch
33. Win + Mousewheel: Zoom operation on the desktop, it is more convenient to use the wheel mouse to operate
34. F9: Show and close the Nautilus sidebar