Monday, July 24, 2017

Linux Commands

Find processes by user:
ps -efl | grep <username>

Find process statistics by user:
top -U <username>

Find file location:
find / -name <filename> 2>/dev/null

find file with name:
locate -i -q <filename>

Tail a process output to console
find the process id
cd /proc/id
cd fd
tail -f 1



No comments:

Post a Comment