Subscribe in a reader
Shanky

Part One : http://techfreaks4u.com/blog/?p=1152

  • lucene helper

java -jar lukeall.jar

  • porter stemmer

http://tartarus.org/~martin/PorterStemmer/

  • svn

go in required DIR
to import fresh: svn import

  • to download:

svn checkout svn-address
svn checkout svn-address

  • to update with ur stuff in

svn svn committ

  • to add new files svn add
  • to downld the recent version : svn update
  • no. of file descriptors: c

at /proc/sys/fs/file-max

  • to import header files:

pkg-config –cflags dbus-1

  • reset network

sudo dhclient eth0

  • creative zen v plus

it’s an MTP device so Amarok or Gnomad2 will both do the trick.
No new media devices were found. If you feel this is an error, ensure that the DBUS and HAL daemons are running and KDE was built with support for them. You can test this by running “dcop kded mediamanager fullList” in a Konsole window.

http://www.hwaci.com/sw/mkhdr/

  • GDB

gdb output_file
r = run
bt = backtrace
bt full = backtrace full
fg = forground
p r<tab> all funcs with rs

  • locate a file

sudo find / -name filename
locate -i filename

  • valgrind, to check memory leaks

valgrind –leak-check=full –show-reachable=yes ./indexer

  • ps

ps auc : to know virtual memory usage, gives only running processes
ps aux : gives all proframs having given arg

  • graphical memory map

pmap : to know the memory map

  • to list a l envirnon variables

env
To update an environment variable that lives until the next reboot:

#export PATH=”/usr/local/XXX/bin:$PATH”
#echo $PATH

Notice that colons are used to separate path items.

  • To create an environment variable that lives forever, update your .bash_profile file:

XXXPATH=”/usr/local/XXX/bin”
export XXXPATH

  • to show disk usage

df -h

  • pkg-config help

/usr/lib//pkgconfig/

  • set path for libs to be find

export LD_LIBRARY_PATH=/usr/local/lib/

  • sharing centre

shares-admin

  • ddd

Separate the console, source and data windows. separate-windows’  `–separate’
this option is equivalent to setting the DDD `Separate’, resource class to `off’. `–attach’ options.
(http://www.cims.nyu.edu/cgi-systems/info2html?%28ddd.info%29Window%2520Layout), for details.

  • searching a file usign grep

grep * -e “pool”

One Response to “Some newbie tips and tricks for Ubuntu Part Two :)”
  1. [...] Tech Freaks 4 You » Some newbie tips and tricks for Ubuntu Part Two [...]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">