Linux Tools

Screen

http://linux.die.net/man/1/screen

http://ubuntu-tutorials.com/2007/05/04/command-line-multitasking-with-screen/

Detach:

ctrl-a d

Reload:

screen -r

lsof

list which process uses which file

System information (2011-06-26)

http://www.linuxquestions.org/questions/programming-9/how-to-get-cpu-information-on-linux-machine-358037/

cat /proc/cpuinfo
cat /proc/meminfo
dmesg
lspci

Libraries and Linux

http://jrv.oddones.org/lib.html

The magic linux-vdso.so library:  http://blogs.igalia.com/aperez/2009/01/the-story-of-linux-gatevdsoso/

Setting up bashrc for other paths

http://ubuntuforums.org/showthread.php?t=269793

Installing to a different folder

At work I cannot install software to the ordinary folders, I have to use my home directory. One can do this during the configure process:

sh ./configure –prefix=/home/…

Get folder size (including subfolders)

du -sh folder

http://unstableme.blogspot.com/2008/02/how-to-check-folder-size-in-linux-linux.html

Install to homefolder

python setup.py install –prefix=/myhome

Search string in files (2011-07-12)

grep (-r for subfolders) "search string" files

http://www.cyberciti.biz/faq/howto-search-find-file-for-text-string/

Creating a bootable USB stick (2011-11-02)

The GUI-Tool unetbootin can be used:  http://unetbootin.sourceforge.net/

Displaying packages which are not updated (2012-10-15)

sudo apt-get -u upgrade

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: