The content of this article is about how to understand the commonly used commands of Ubuntu terminal and Git. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
Task Manager: Search the search bar for System Monitor
pwd: View the current path.
history: View historical operation records.
tar zcvf android-studio.tar.gz android-studio: Pack android-studio files into android-studio compressed files.
ssh archermind@10.20.11.153: Remotely log in to the computer with this IP address (this computer needs to enter its password).
After ssh remote login, copy the file to the local machine with the address 10.20.11.128: scp app.apk 10.20.11.128:/work
Copy File: cp app-release.apk /media/usb0/
scp 10.20.11.153://home/archermind/Downloads/android-studio.tar.gz: Copy android-studio compression from this address file to local.
ctrl shift insert: Paste.
ls -a: View all files including hidden files.
cat xxx: View the specific content of the file.
vim xxx: Open the file in command line editing mode.
gedit xxx: Open the file in text editing mode.
source xxx: Execute a certain file.
rm -rf xxx: Delete a file.
clear: Clear all content.
chmod 777 xxx: Grant read and write permissions to the file.
ping x.x.x: Test whether there is a network connection to an address.
ifconfig: View the local network address.
============================================== =========================
Submit code:
(1)git pull aosp main/svw_cns3.0_dev
(2)git add xxx
(3)git commit -m "[MediaTest]Repair click events without noise and related problems"
(4 ) git push aosp HEAD:refs/for/main/svw_cns3.0_dev
The above is the detailed content of How to understand Ubuntu terminal and common Git commands. For more information, please follow other related articles on the PHP Chinese website!