OnCommand
1 min read editmentary command line · terminal · shellDisplays the status of active connections and listening ports. netstat -a # alternatively netstat -an Find list of files opened/in-use-by a specific process(PID) lsof -p [PID] Find the process(PID) that is using a port lsof -i tcp:[PORT] # or netstat -vanp tcp Rename a file to md5 sum / hash with file extensions. NOTE: this script will execute on ALL files in a directory. See Stackoverflow for more info.