Skip to content

Custom Commands

Gaurav Raj edited this page Apr 6, 2024 · 1 revision

Custom Commands

Vigilante Arch's zsh configuration (zshrc) file includes several custom commands and aliases to enhance the user experience and productivity. These commands cover various tasks and utilities, from navigation to file management and more.

Custom Commands and Aliases

General Utilities

  • uopen: Download a file from a URL and display it locally.
uopen <URL/file>
  • memusage: Display memory usage overview.
memusage
  • hex: Convert a number to its hexadecimal representation.
hex <number>

System Management

  • vig: Execute commands through ProxyChains using a specified configuration file.
vig <command>
  • vigilante: Start Tor with a custom configuration file for enhanced privacy and anonymity.
vigilante

Text Editing

  • vimhelp: Open Vim's built-in help system for the specified topic.
vimhelp <topic>

File Management

  • plap: List all occurrences of a program in the current PATH.
plap <program>

Miscellaneous

  • bew: Convert a binary string to its ASCII representation.
bew <binary_string>
  • web: Convert an ASCII string to its binary representation.
web <ASCII_string>
  • hew: Convert a hexadecimal string to its ASCII representation.
hew <hex_string>
  • weh: Convert an ASCII string to its hexadecimal representation.
weh <ASCII_string>
  • getlinks: Extract all URLs from a given file or output.
getlinks <file_or_output>
  • gethrefs: Extract all href attributes from HTML content.
gethrefs <HTML_file_or_content>
  • getanames: Extract all a name attributes from HTML content.
getanames <HTML_file_or_content>
  • getforms: Extract all HTML form elements from a given file or output.
getforms <file_or_output>
  • getstrings: Extract all strings enclosed in double quotes from a given file or output.
getstrings <file_or_output>
  • getanchors: Extract all text enclosed in double angle brackets from a given file or output.
getanchors <file_or_output>

These custom commands and aliases provide convenient shortcuts for common tasks and system management within Vigilante Arch's zsh environment.

Clone this wiki locally