Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (16 sloc) 540 Bytes
---
linux: |-
File in Use?
lsof | grep <file> (case-sensitive)
Check the dependecy of a binary file:
objdump -p a.exe | grep 'DLL Name'
To run a process in the background, regardless of whether the terminal window is closed:
nohup <some command> &
eg. nohup ruby /u/app/qbglc/current/script/runner -e development 'load "/u/app/qbglc/current/script/app/some_script.rb"' &
Disk Usage:
$ du -sh *
$ df -h
Version:
$ uname -a
Find (suppress err):
$ find <dir> -name <pattern> 2>/dev/null