Tuesday, June 15, 2010

SOME USEFUL LINUX COMMANDS

Look at all the running ports and processes in ubuntu
sudo netstat -ltp

get a list of all packages installed in your ubuntu machine in a file
dpkg --get-selections > installed-software

On any new machine perform following commands
dpkg --set-selections < installed-software
apt-get -u dselect-upgrade

No comments:

Post a Comment