Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#E3FCEF

Please read the Terms of Use for Materials on ZennoLab

Table of contents

Expand
titleClick here to expand the table of contents
Table of Contents

...

Because All this is the basic Linux commands, then on the Internet a huge amount of information, instructions and explanations to work with them.
Just enter a species request in the search string linux <command_name> примерor linux команда <command_name> пример , where <command_name> - the name of the required command.

List of popular commands

Команда

Описание

Пример

clear

Clear console window

clear

exit

Exit from the console of the emulator

exit

cp

Copy files

cp /path/where/copy/file.txt /where/file.txt

ls

Displays the contents of the directory on the specified path

ls /path/to/directory

mv

Moving files and directories

mv /source/path/file.txt /finite/file.txt

rm

Deleting files

rm /path/to/file.txt

rmdir

Removal of an empty directory

rmdir /path/to/directory/

touch

Creating a file

touch /sdcard/Alarms/alarm.txt

mkdir

Creating a directory

mkdir /sdcard/newFolder

pwd

Path of the current directory

pwd

date

Displays the current date and time

date

du

File size

du /путь/к/файлу.txt

service list

List of working services

service list

Specific Android commands - am and pm

...

Expand
titleExamples
  • Delete application - pm uninstall com.example.MyApp

  • Get a list of all applications - pm list packages (this list can also be obtained using the Installed Applications tool )

    • list of third party applications - pm list packages -3

    • list of system applications - pm list packages -s

...