Linux cheat sheet
github.com
github.com
I know it may seem odd to GPL a list of commands. My intention was to build up a minimal reference sheet covering just what people need to know to get started with Linux Dev, but also with a special attempt to include obscure and useful features that may benefit old-timers perusing this reference.
I have since attempted to address the Ubuntu/Debian centric perspective of the sheet. I also addressed the comments about "&&" and "ssh -X" I will also expand the section on "tar."
-William Hackmore
lsof -p PID
where "PID" is the process id of the process in question.As for which files are most used at the moment, I'm not sure. However, "iotop" will show you which processes are using the most io at the moment.
lsof -n | grep REG | awk '{print $9}' | sort | uniq -c | sort -nAlso, ifconfig is deprecated.
# compress a file, tar will automatically compress it according to the file extension you use
tar -caf archive.tar.gz file1 file2 ...
# extract a file, again tar will automatically pass it through the right decompression program
tar -xaf archive.tar.gz find . -type f -exec md5sum {} \;Not in the US.
Therefore, the arrangement was not copyrightable, as it was a simple alphabetic listing with no creativity.
The arrangement was copyrightable. An alphabetic list isn't, but arranging that list turns it into something copyrightable.
And this, and nothing else, is what we're talking about.
http://news.ycombinator.com/item?id=5342078
> the arrangement of a phone book is copyrightable
An alphabetical list is not copyrightable, but you can arrange a phonebook to make it copyrightable.
The arrangement of a phonebook can be copyrightable.
[command] && [command]
and
[command] || [command]
Which I guess is entirely the point :)
and why git/mysql stuff are included for linux cheat sheet?