Skip to content

Nit-nit/awesome-termux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 

Repository files navigation

Awesome termux tutorial

This repository contains a beginner tutorial for Termux and Vim, well what is termux? and latest version here!!

Basic commands usage

commands usage
first command this table is coming soon

making a folder or directory

mkdir <.../path/directory-name>
mkdir stands for make directory (folder)

making a file

touch <.../path/file-name>

deleting a folder/directory or a file

rm -r <file path>
rm stands for remove

moving a file from one path to another

mv <old file path> <new file path>
mv stands for move

getting access to internal/shared storage

termux setup storage

opening files from internal storage

  1. install vim text editor pkg install vim
  2. open shared storage vim ~/storage/shared/

entering a directoy and running commands inside it to make files and more directories inside it

  1. cd <.../path/directory-name> to open a directory and using it as current directory
  2. cd to get out of the current directory again
  3. vim ./ to open the current directory and inspect it, you can see the list of all the folders and files this directory contains using this command

setting up a file and saving it using vim

  1. vim <.../path/file-name> to open the file
  2. i to insert texts and edit the file
  3. alt+:+w to save a file
  4. alt+:+q! to exit file without saving
  5. alt+:+wq to save and exit the file
  6. alt+:+w+<file rename> to rename and save the file
  7. alt+:+wq+<file rename> to rename the file, saving and exiting

killing a process and stopping some action which is in progress

ctrl+4

closing the tab and exiting the app

ctrl+d

About

Termux and Vim tutorial for beginners

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages