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 files
cd /etc/supervisor/conf.d/ # as this is the location of files
Show List of files
ls
will show list of files with names like worker-xyz.conf
Top comments (0)