Difference between revisions of "Howto Ubuntu"
(→Notes about installing and setup of various apps and features in Ubuntu) |
(→Other nice external links and howto-s) |
||
Line 26: | Line 26: | ||
==Other nice external links and howto-s== |
==Other nice external links and howto-s== |
||
==== Mass search and replace in files (with sed) ==== |
|||
for i in $(find . -type f); do sed 's/oldstring/newstring/g' $i > $i-tmp; mv $i $i-backup; mv $i-tmp $i; done |
|||
==== DV/Firewire for Ubuntu ==== |
==== DV/Firewire for Ubuntu ==== |
||
https://help.ubuntu.com/community/Firewire |
https://help.ubuntu.com/community/Firewire |
||
==== Tunneling to socks proxy==== |
==== Tunneling to socks proxy==== |
||
Line 35: | Line 40: | ||
$ssh -D 9999 username@ip-address-of-ssh-server |
$ssh -D 9999 username@ip-address-of-ssh-server |
||
Then set in Firefox to use a SOCKS proxy: “localhost", port 9999 |
Then set in Firefox to use a SOCKS proxy: “localhost", port 9999 |
||
==== Acroread on Ubuntu ==== |
==== Acroread on Ubuntu ==== |
||
The link: [http://ubuntu-tutorials.com/2008/06/23/install-adobe-acrobat-reader-812-on-ubuntu-804/] |
The link: [http://ubuntu-tutorials.com/2008/06/23/install-adobe-acrobat-reader-812-on-ubuntu-804/] |
||
==== Check the ports and apps listening on them ==== |
==== Check the ports and apps listening on them ==== |
||
netstat -lnptu |
netstat -lnptu |
||
==== Listing members of a group ==== |
==== Listing members of a group ==== |
Revision as of 16:51, 23 December 2009
Contents
Notes about installing and setup of various apps and features in Ubuntu
- ssh with a private-public key
- SVN - Subversion
- simpleproxy - Simple TCP proxy for linux
- VirtualBox
- Emacs - some of my favoritre customizations
- SciTe / Scintilla - the lightweight programmers editor
- OpenOffice
- Grep - grep and egrep usage tips
- Octave (MatLab alternative)
- XMMS setup for Ubuntu 8.04 and up - from source
- XMMS setup for Ubuntu Hardy - from deb.
Misc tasks
- Secure directories under Apache (htaccess style)
- Users and permissions in Linux / Ubuntu
Other nice external links and howto-s
Mass search and replace in files (with sed)
for i in $(find . -type f); do sed 's/oldstring/newstring/g' $i > $i-tmp; mv $i $i-backup; mv $i-tmp $i; done
DV/Firewire for Ubuntu
https://help.ubuntu.com/community/Firewire
Tunneling to socks proxy
In short: $ssh -D 9999 username@ip-address-of-ssh-server Then set in Firefox to use a SOCKS proxy: “localhost", port 9999
Acroread on Ubuntu
The link: [1]
Check the ports and apps listening on them
netstat -lnptu
Listing members of a group
I.e., the opposite to the command 'groups myuser'
sudo apt-get install members [if needed] members groupname
Custom autocomplete in Ubuntu
It is nice to use TAB key to autocomlete path for example, for a ls command in bash.
It turns out, you can also autocomplete certain command arguments, e.g. apt-get inst<TAB>
expands to apt-get install.
Even better, you can define your own completion rules for other commands and applications.