Home > Operation and Maintenance > Windows Operation and Maintenance > How to understand Ubuntu terminal and common Git commands

How to understand Ubuntu terminal and common Git commands

坏嘻嘻
Release: 2018-09-17 10:21:08
Original
2127 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template