Simple question, in BASH I\'m trying to read in a .pid file to kill a process. How do I read that file into a variable. All the examples I have found are trying to read in man
POSIX portable way:
$ read pid <$pidfile
See: pid=`cat $pidfile` or read pid <$pidfile?