This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List all processes dynamically, q to close top, k to kill a process | |
top | |
# Displays processes in tree format | |
pstree | |
# Display all running processes owned by the current user | |
# ps aux | |
# Find a process |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install dkms build-essential linux-headers-generic | |
# On virtual machine’s menu bar on top, click on Device/Install Guest Additions. This will launch a unix script runing on the Ubuntu terminal. | |
sudo reboot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
udo apt-get install tcptrack | |
sudo tcptrack -i eth0 -f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libatlas-base-dev | |
sudo apt-get install gfortran | |
sudo apt-get install python-matplotlib | |
sudo pip install numpy | |
sudo pip install pandas | |
sudo pip install scipy | |
sudo pip install patsy | |
sudo pip install matplotlib | |
sudo pip install jinja2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install python-pip | |
sudo apt-get install python-setuptools | |
sudo apt-get install python-dev | |
sudo apt-get install build-essential | |
sudo pip install virtualenv | |
sudo pip install virtualenvwrapper | |
sudo echo 'export WORKON_HOME=$HOME/.virtualenvs' >> ~/.bashrc | |
sudo echo 'source /usr/local/bin/virtualenvwrapper.sh' >> ~/.bashrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls *.txt | wc -l | tee /dev/tty count.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing RVM and Ruby: | |
sudo apt-get install curl | |
\curl -L https://get.rvm.io | bash -s stable --ruby | |
echo 'source $HOME/.rvm/scripts/rvm' >> ~/.bashrc | |
source ~/.bashrc | |
rvm requirements | |
rvm install 1.8.7-p371 | |
rvm install 1.9.3-p125 | |
rvm --default use ruby-1.9.3-p125 |
NewerOlder