Ubuntu Command line:
https://www.linuxbabe.com/ubuntu/install-nvidia-driver-ubuntu-18-04
Ubuntu Command line:
https://www.linuxbabe.com/ubuntu/install-nvidia-driver-ubuntu-18-04
Tip
Activate virtual environments in ubuntu using venv
https://linuxize.com/post/how-to-create-python-virtual-environments-on-ubuntu-18-04/
Notes:
One of my machine had python3.5. In order to use python 3.6 i had to do a couple of things:
python3.6-venv
sudo apt-get install python3.5-dev
For the nth time, i have had to look up the location of the .vimrc and .bashrc files on windows . so here goes:
bashrc
vimrc
Note:
sudo apt-get install ncdu
/dev/sda2)
/
$ du -csh *
52K Desktop
4.0K Documents
4.0K Downloads
0 media
4.0K Music
353M notebooks
4.0K Pictures
4.0K Public
4.0K Templates
947M transferLearning
4.0K Videos
1.3G total
References:
https://www.cyberciti.biz/faq/checking-directory-size-in-linux-command/
I think using the Ubuntu Terminal in a smart way is crucial for day-to-day productivity.
I came across this nice link where several tricks are listed down and explained nicely.
https://help.ubuntu.com/community/UsingTheTerminal
Note: The consistent Copy-Paste mechanism I have found working across Unity terminal, Xfce terminal, unity gvim, xfce gvim etc is using:
Check it out!
Remote to Ubuntu 16.04 from Windows 10:
Copy On Select:
Install Java
profile and bashrc files
abgoswam@abgoswam-ubuntu:~$ ls .bash* -lh -rw------- 1 abgoswam abgoswam 4.1K Oct 23 15:20 .bash_history -rw-r--r-- 1 abgoswam abgoswam  220 Oct 21 22:44 .bash_logout -rw-r--r-- 1 abgoswam abgoswam 3.7K Oct 21 22:44 .bashrc abgoswam@abgoswam-ubuntu:~$ ls .profile* -lh -rw-r--r-- 1 abgoswam abgoswam 655 Oct 21 22:44 .profile abgoswam@abgoswam-ubuntu:~$ ls -lh /etc/profile* -rw-r--r-- 1 root root  670 Oct 23 14:55 /etc/profile -rw-r--r-- 1 root root  884 Oct 23 15:18 /etc/profile.save /etc/profile.d: total 20K -rw-r--r-- 1 root root   40 Nov 30  2015 appmenu-qt5.sh -rw-r--r-- 1 root root  101 Jun 29 12:03 apps-bin-path.sh -rw-r--r-- 1 root root  663 May 18 02:19 bash_completion.sh -rw-r--r-- 1 root root 1003 Dec 29  2015 cedilla-portuguese.sh -rw-r--r-- 1 root root 1.9K Mar 16  2016 vte-2.91.sh abgoswam@abgoswam-ubuntu:~$ ls -lh /etc/bash* -rw-r--r-- 1 root root 2.2K Aug 31  2015 /etc/bash.bashrc -rw-r--r-- 1 root root   45 Aug 12  2015 /etc/bash_completion
Gvim
Making Gvim auto open in new tab:
Spark:
I tried installing Ubuntu 16.04 on my Lenovo X1 Carbon. It’s interesting how hard it was to install Linux on this machine.
USB stick:
NetBoot:
In my past life I was so used to using the ‘netstat’ command. So I found it funny when I got to re-use it again after ~5 years.
Netstat:
There are so many more flags (see reference)
Telnet:
ruok
and press ENTER
. if everything’s fine, ZooKeeper will say imok
and end the Telnet sessionReferences:
As I play around more with the machine learning toolkit Vowpal Wabbit, I realized there are several subtle flags/functionality in the toolkit.
Here is an effort to aggregate my leanings in using this toolkit.
Tips:
References:
Code:
There are a couple of ways to make bash scripts run on windows (cygwin). This is to take care of the \r\n issue that comes up. File editors in windows use \r\n to denote end of line.
References:
Code: