Linux File Search Commands: Grep, Locate, Tail And Ls
Search file: cat filename | grep keyword. View last lines: tail -f filename or tail -100 filename. Locate file: locate filename. Supervisor status: supervisorctl status.
Search Specific text in a file
cat filename | grep keyword
Show last few lines in a file
tail -f filename
Shows last couple of lines
tail -100 filename # shows last 100 lines
keeps showing new content if new content gets added
locate to search file
install mlocate package first
locate filename
For queue supervisor
login as root first
supervisorctl status
Note: Location of supervisor configuration f...