If you have a backslash in username or passwd, you need to do a special character to escape backslash.
For example: ftp\username
export ftpusername='ftp\\username'
If you put a double quote around export ftpusername, it doesn't work. Or if you try to add "/" like "ftp/\username" doesn't work either. Imagine how syntax could get your way.
Thursday, May 28, 2009
Saturday, May 9, 2009
Ubuntu useful commands
To install .deb package.
sudo dpkg -i package_file.deb
When using vi editor in Awn gnome-terminal, ESC does not work, but Ctrl+[. It's hard to use vi in Awn, but it's still work.
-- searching virtualbox in the system
sudo aptitude search virtualbox
-- install virtual box
sudo apt-get virtualbox-ose
-- get new updates
sudo apt-get update
-- install updates
sudo apt-get upgrade
-- How to change files/folders ownership
sudo chown username /location_of_files_or_folders
-- If you want to change ownership of all containing files and folders recursively, use the -R option like this:
sudo chown -R username /location_of_files_or_folders
-- How to change files/folders group ownership
sudo chgrp groupname /location_of_files_or_folders
-- If you want to change group ownership of all containing files and folders recursively, use the -R option like this:
sudo chgrp -R username /location_of_files_or_folders
sudo dpkg -i package_file.deb
When using vi editor in Awn gnome-terminal, ESC does not work, but Ctrl+[. It's hard to use vi in Awn, but it's still work.
-- searching virtualbox in the system
sudo aptitude search virtualbox
-- install virtual box
sudo apt-get virtualbox-ose
-- get new updates
sudo apt-get update
-- install updates
sudo apt-get upgrade
-- How to change files/folders ownership
sudo chown username /location_of_files_or_folders
-- If you want to change ownership of all containing files and folders recursively, use the -R option like this:
sudo chown -R username /location_of_files_or_folders
-- How to change files/folders group ownership
sudo chgrp groupname /location_of_files_or_folders
-- If you want to change group ownership of all containing files and folders recursively, use the -R option like this:
sudo chgrp -R username /location_of_files_or_folders
yakuake drop-down terminal emulator
This is my favorite terminal emulator.
Yakuake is a drop-down terminal emulator based on KDE Konsole technology.
http://yakuake.kde.org/
You can install on Ubuntu:
sudo apt-get install yakuake
Yakuake is a drop-down terminal emulator based on KDE Konsole technology.
http://yakuake.kde.org/
You can install on Ubuntu:
sudo apt-get install yakuake
VPN client on Ubuntu 9.04
VPN client on Ubuntu 9.04 is getting easier:
1. sudo apt-get install network-manager-pptp
2. click network-manager icon in panel-->VPN connections-->Configure VPN…
3. click Add button to add your vpn.server.com, username and passwd
1. sudo apt-get install network-manager-pptp
2. click network-manager icon in panel-->VPN connections-->Configure VPN…
3. click Add button to add your vpn.server.com, username and passwd
Subscribe to:
Posts (Atom)