Skip to content

Script to display a random unix command along with a short description

Notifications You must be signed in to change notification settings

PRITI1999/command-tutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

command-tutor

Script to display a random unix command along with a short description

command-info.sh file is a bash script that extract the name of the command files from /usr/bin,
prints the name section and first two lines of description section from man page.

The purpose of the script is to teach me a new unix command everytime I press Ctrl+Alt+T or run the terminal

If you want to use the script for the similar reason, please follow the below steps

Steps:

  1. Clone or download this repository
  2. Navigate to the downloaded repo in terminal
  3. Add execute permission - run command chmod +x command-info.sh
  4. Return to home directory and open .bashrc file using vim or some other text editor
  5. Add complete path of the script command-info.sh at the end of the file
  6. Run the command source ~/.bashrc

Tadaa!
Learn a new command everytime you press Ctrl+Alt+T

About

Script to display a random unix command along with a short description

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages