Linux

commands

Process

  • ps -aux
  • kill -9 (process no.)

util

  • history
  • tail -f
  • tar zxvf file.tar.gz
  • tar cvzf (output).tar.gz (input)
  • quota
  • pushd (your destination dir) / popd
  • make >Make.log 2>&1
  • export LANG=en.UTF-8
  • ps -eLF | grep $USER

Bash

  • source ~/.bashrc

svn

  • svn checkout (url) (destination dir)
  • error: svn: Can't convert string from 'UTF-8' to native encoding
export LC_CTYPE=en_US.UTF-8
  • error: gnome-keyring
    1. open ~/.subversion/config
    2. edit as below and save
  password-stores = 

MPI

  • mpisubmit (program) (partition nr.) (job name) (arguments)
  • qstat | grep ...
  • qmon&
  • mpirun -np (cpu nr.) (program)
  • PGI compiler for C codes: mpi_pgcc
  • PGI compiler for C++ codes: mpi_pgCC

shell

  • Control + D: kill process
  • Control + Z: stop process

Log

Keep loggin history more than one month (/var/log/wtmp)

  • open /etc/logrotate.conf
  • increase the rotate count (default is 1)

Trouble

Error while loading shared libraries message

export LD_LIBRARY_PATH=

OS version

uname -a
cat /etc/issue

Software

Network

  • Wicd

Development

  • Kate
  • Meld Diff Viewer
  • QtCreator
  • eclipse
  • Beyond compare

SVN

  • RapidSVN
  • Nautilus Scripts for Subversion
The scripts were developed by mariuss' weblog: http://marius.scurtescu.com/2005/08/24/nautilus_scripts_for_subversion
Now available in the Ubuntu Dapper universe repository: http://packages.ubuntu.com/dapper/devel/nautilus-script-collection-svn

eclipse

  • Ubuntu 9.10 - Button click doesn't work
start ecplise as below

#!/bin/sh
export GDK_NATIVE_WINDOWS=1
/opt/eclipse/eclipse
 

Internet/Communication

  • Firefox / Opera
  • Thunderbird
  • Pidgin Internet Messenger
  • Skype

Office

  • Open Office
  • Grace
  • PDF Editor
  • Texmaker
  • JabRef
  • Mendeley Desktop

Utils

  • Citrix client
  • Paraview
  • Sun VirtualBox
 - Duplicate VDI
     1. cd /home/(user)/.VirtualBox
     2. type command: VBoxManage clonevdi (full path to a source vdi file) (full path to a new vdi file)
     3. Start VirtualBox and open Virtual Media Manager
     4. Add new VDI
    
  • Wine
  • Comix

Configuration

  • /etc/sysctl.conf
vm.swappiness = 0
 

この日記のはてなブックマーク数
最終更新:2016年03月25日 15:32
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。