Skip to content

samuelowad/cmdexec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cmdexec

This is a Golang program for creating an alias of regularly run Linux commands, or commands you choose to save and don't want to rewrite every time.

Features

  • Full support for actions with JSON file
  • Support for running commands
  • Support for running sudo commands
  • Support for custom sudo time-out
  • Temporarily saving sudo password for custom sudo time-out
  • CLI support (in progress)
  • Separate daemon project for running the commands and daemon process

Usage

To use this program, first build and install it using the following command:

go build

To add command

./cmdexec -a "command:sudo whoami,name: testa" -a "name: test1, command:sudo who"

check help

./cmdexec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages