Today I started playing with Java 9 on my Ubuntu 17.04. So, I thought it might be handy for other to know how to install Java 9 on Ubuntu. Here are the steps:
Sometimes you need to look for something (i.e. grep) in file, but you want to see several lines BEFORE and AFTER the line you're looking for. So, how can you do this in Linux?
grep -B 3 -A 3 "Deploying" catalina.out
It looks for text "Deploying" in file catalina.out and returns 3 lines before (-B switch) and after (-A switch) the line with text "Deploying".
Today I had a very akward problem with my Ubuntu Linux 15.04. During boot I got a message saying:
A start job is running for dev-disk
And a timer. As a result, the boot of Linux was delayed for about 1 min 30 s. So, what did I do about it?
I opened sudo vim /etc/fstab and found that the SWAP partition was described as:
Today I wanted to install NVidia drivers for my NVidia GeForce GTX 560 on my Ubuntu Linux 12.10 OS. I googled a bit and found a very good web site: http://www.dedoimedo.com/computers/ubuntu-quetzal-nvidia.html
P.S. Just one tip: start reading from Step 2 ;)
- Get some pictures in XPM format - http://www.gnome-look.org/ (search is on the left, enter "grub") or if you have apt-get: sudo apt-get install grub2-splashimages . If you have XMP image you need to compress it to gz format: gzip image.xmp. This will produce you the file image.xmp.gz. Put this file into /boot/grub/splashimages.