Skip to content

Ubuntu Configuration Notes

Dual System Time Issue

After installing a dual system, you may encounter a time synchronization issue between Windows and Ubuntu. You can resolve this by using the following command:

timedatectl set-local-rtc 1 --adjust-system-clock

Software Installation

  1. Chrome
  2. VS Code
  3. Qv2ray
  4. Git
    • sudo apt install git
    • git config --global user.name "John Doe"
    • git config --global user.email [email protected]

Tips

Viewing Hidden Files

Use the shortcut keys: Ctrl + H

Opening the Terminal

Use the shortcut keys: Ctrl + Alt + T

Commands

Note: <xx> indicates required, (xx) indicates optional

  • cd
    • Change the working directory
    • cd <directory path>
  • pwd
    • View the current absolute path
    • pwd
  • mkdir
    • Create a directory
    • mkdir (options) <directory name>
  • ls
    • List the contents of a directory
    • ls (options) (directory name)
  • touch
    • Modify file/directory timestamps
    • touch (options) <file name>
  • mv
    • Move (cut)
    • mv (options) (source file/directory) <destination file/directory>
  • cp
    • Copy
    • cp (options) (source file name/directory name) <destination file name/directory name>
  • rm
    • Delete
    • rm (options) <file name/directory name>

References and Acknowledgments

Original: https://wiki-power.com/ This post is protected by CC BY-NC-SA 4.0 agreement, should be reproduced with attribution.

This post is translated using ChatGPT, please feedback if any omissions.