LISTA PROCESSI:
$ ps
$ ps -ax

—–

KILL FIREFOX:
killall -s9 firefox-bin

—–

RECONFIGURE & RESTART XSERVER:
- reconfigure xserver
sudo dpkg-reconfigure xserver-xorg

- restart gdm
sudo /etc/init.d/gdm restart

—–

SET AUDIO DEFAULT:
$ sudo asoundconf list
Names of available sound cards:
SI7012
AudioPCI
AudioPCI2

$ sudo asoundconf set-default-card “AudioPCI”

—–

SCORCIATOIE COMPIZ:
- Default plugin keyboard COMPIZ shortcuts

There are many configuration options under Compiz->General->Screen0->Options.

* Switch windows = Alt + Tab
* Arrange and View All Windows = Moving the pointer to the top right screen corner turns on or off; clicking a window will zoom it to the front
* Switch desktops on cube = Ctrl + Alt + Left/Right Arrow
* Switch desktops on cube – with active window following = Ctrl + Shift + Alt + Left/Right Arrow
* Rotate cube manually = Ctrl + Alt + left-click and grab an empty desktopspace.
* Make window translucent/opaque = possible with the “transset” utility or Alt + wheel mouse
* Zoom-in once = Super-key right-click
* Zoom-in manually = Super-key + wheel mouse up
* Zoom-out manually = Super-key + wheel mouse down
* Move window = Alt + left-click
* Snap Move window (will stick to borders) = Ctrl + Shift + left-click
* Resize window = Alt + right-click
* Bring up the window below the top window = Alt + middle-click
* Slow-motion = Shift + F10
* Water = hold Ctrl+Super key
o Rain = Shift-F9

“Super-key” means the Linux respectively Win**** key.
If you know of others, please add them here.

* Film effect – changing dekstop = Ctrl+Alt+Down Arrow (hold the Ctrl+Alt then for changing desktop + Left/Right arrow. You can also hold down the left mousebutton to move the “film”) Can be used in combination with the “Switcher”.

—–

CDRECORD (MASTERIZZARE DA LINEA DI COMANDO)

- cdrecord -scanbus
- cdrecord -v -eject speed=(2-4 …) dev=(scanbus output) /…/file.qlcs

——

RETE:

- sudo apt-get install ssh

- sudo apt-get install sshfs

- adduser “locale” fuse

- mkdir /dir…/locale

- sshfs useremoto@ipremoto:/dir…/remota /dir…/locale

- (u)mount /dir…/locale

—–

ANALISI DISCHI:

- # df

——

CONTROLLO ORARI DI SISTEMA

- # uptime

——

SSH WIN

- cygwin
- [MC]
- [bash]

—–

COPIA GREZZA DEV

- dd if=/dev/cdrom of=/media/destinazione../nome-file.iso

——

LISTA PACCHETTI INSTALLATI

- dpkg -l
- dpkg -l | grep nome pacchetto

—–

INSTALLARE DIPENDENZE PACCHETTO

sudo apt-get build-dep ‘nome pacchetto’

——

PXE LINUX INSTALL

http://www.newstechnology.eu/web/content/view/62/2/lang,it/
http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install
http://howtoforge.com/ubuntu_pxe_install_server
http://myy.helia.fi/~karte/ubuntu_pxe.html

——

BACKUP (?? da testare)

rsync -arcv /directory/da/backuppare/ /directory/di/destinazione

——

LISTA DIMENSIONI

ls -sh

——

RENAME

rename s/” “/_/g *
rename s/_-_/-/g *

Segnala

  • Print this article!
  • E-mail this story to a friend!
  • del.icio.us
  • Technorati
  • Facebook
  • TwitThis
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Segnalo
  • Tumblr
  • Sphinn
  • Slashdot
  • Wikio IT