


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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

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

Dreamweaver Mac version
Visual web development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.