Skip to content

Latest commit

 

History

History
57 lines (56 loc) · 3.55 KB

Chapter10.md

File metadata and controls

57 lines (56 loc) · 3.55 KB

Chapter 10: Data Management Commands


  1. termux-cat [file]: Displays the contents of a file.
  2. termux-cp [source] [destination]: Copies files and directories.
  3. termux-cut [options]: Cuts out selected portions of each line of a file.
  4. termux-echo [text]: Displays a line of text.
  5. termux-file-editor [file]: Opens a file in the default text editor.
  6. termux-file-info [file]: Displays information about a file.
  7. termux-head [options] [file]: Displays the first part of a file.
  8. termux-less [file]: Displays the contents of a file, one screen at a time.
  9. termux-ln [options] [source] [destination]: Creates links to files.
  10. termux-ls [options]: Lists directory contents.
  11. termux-md5sum [file]: Calculates and verifies MD5 checksums.
  12. termux-mkdir [directory]: Creates directories.
  13. termux-mv [source] [destination]: Moves or renames files and directories.
  14. termux-od [options] [file]: Displays the contents of a file in various formats.
  15. termux-paste: Combines lines from multiple files.
  16. termux-pwd: Prints the current working directory.
  17. termux-readlink [options] [file]: Displays the value of a symbolic link.
  18. termux-realpath [file]: Displays the absolute path of a file.
  19. termux-rm [options] [file]: Removes files or directories.
  20. termux-sort [options]: Sorts lines of text files.
  21. termux-split [options] [file]: Splits a file into pieces.
  22. termux-stat [file]: Displays file or file system status.
  23. termux-sum [file]: Calculates checksums and counts the number of blocks for a file.
  24. termux-sync: Synchronizes cached writes to persistent storage.
  25. termux-tac [file]: Concatenates and prints files in reverse.
  26. termux-tail [options] [file]: Displays the last part of a file.
  27. termux-touch [options] [file]: Updates the access and modification times of files.
  28. termux-truncate [options] [file]: Shrink or extend the size of a file.
  29. termux-uniq [options]: Reports or omits repeated lines.
  30. termux-wc [options] [file]: Prints newline, word, and byte counts for each file.
  31. termux-cut: Removes sections from each line of files.
  32. termux-cp: Copies files and directories.
  33. termux-cat: Concatenates files and prints on the standard output.
  34. termux-paste: Merges lines of files.
  35. termux-pwd: Prints the name of the current working directory.
  36. termux-rm: Removes files or directories.
  37. termux-od: Displays files in octal format.
  38. termux-sort: Sorts lines of text files.
  39. termux-split: Splits a file into pieces.
  40. termux-stat: Displays file or file system status.
  41. termux-sum: Displays checksum and block counts for a file.
  42. termux-tac: Concatenates and prints files in reverse.
  43. termux-tail: Displays the last part of a file.
  44. termux-touch: Updates the access and modification times of each file.
  45. termux-truncate: Shrink or extend the size of each file.
  46. termux-uniq: Reports or filters out repeated lines in a file.
  47. termux-wc: Prints newline, word, and byte counts for each file.
  48. termux-which [command]: Locates the executable file associated with a given command.
  49. termux-whoami: Displays the username of the current user.
  50. termux-xargs [options]: Builds and executes command lines from standard input.


These commands provide powerful tools for managing and manipulating data files and directories on the system. Feel free to adjust or expand upon this chapter as needed!