CmdID

CmdID / Commands

entr

Run arbitrary commands when files change. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Rebuild with make if any file in any subdirectory changes

ag --files-with-matches | entr makeIdentify

Rebuild and test with make if any .c source files in the current directory change

ls *.c | entr 'make && make test'Identify

Send a SIGTERM to any previously spawned ruby subprocesses before executing ruby main.rb

ls *.rb | entr -r ruby main.rbIdentify

Run a command with the changed file (/_) as an argument

ls *.sql | entr psql -f /_Identify

clear the screen and run a query after the SQL script is updated

echo my.sql | entr -cp psql -f /_Identify

Rebuild the project if source files change, limiting output to the first few lines

find src/ | entr -s 'make | sed 10q'Identify

Trips 1 Sigma rule: informationalFile and Directory Discovery - Linux by Daniil Yugoslavskiy, oscd.community, CheraghiMilad

Launch and auto-reload a Node.js server

ls *.js | entr -r node app.jsIdentify