


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.
Ubuntu terminal command:
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.
============================================== =========================
git command:
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Notepad++7.3.1
Easy-to-use and free code editor

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.
