search
HomeOperation and MaintenanceWindows Operation and MaintenanceHow to understand Ubuntu terminal and common Git commands

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!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Safe Exam Browser

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

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.