Facebook

Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Ubuntu 16.04 new features

Ubuntu 16.04 is about to release on 23rd of April 2016. Ubuntu fans might be exited about the latest features coming to this release. Here is the list of all such features.

Official mascot of Ubuntu 16.04


1. Online searches have been disabled from unity search results. Now you will not see any more Amazon suggestions.

2. Ubuntu software center has been removed as it was very heavy.

3. 'apt-get' has been replaced with 'apt' only. This command is used in Debian systems. 

4. Unity Launcher can be moved to bottom of the screen.




5. Default support for ZFS file system.

6. Linux Kernel 4.4 , Mozilla Thunderbird updated to 45.0,  Docker 1.10 and much more...

Me right now... 




Finding file and directory in ubuntu


To find a file in your system by name use below command -

find -name "query"

For case insensitive search -
find -iname "query"

Create a bootable Pen Drive in Ubuntu


Ubuntu have a default program to create a bootable pen drive.
Follow these steps to create the same.

1. Download the iso image file of latest Ubuntu from their official site.
2. Now attach an empty USB drive to the system.
3. Start the 'startup disk creator' program.


4. Select the downloaded iso image file as the source file.


5. Select the USB device as the 'disk to use'.
6. Select less than 1 GB Reserved disk space. Click 'Make Startup Disk'.


7. Files will be copied to disk. After some time when OS installation on the disk is complete click the 'quit' button.



8. Detach the USB disk and follow this article to install the Ubuntu on any system. 

Leave a comment in case of any query.

Printing both side in Ubuntu


In Ubuntu 14.04 , default document viewer doesn't support both side printing of a PDF document.



To save paper, one must print on both side of a paper.  

Here is the trick to print on both side of paper. 
Right click the document and select 'Open with' option. Now select 'Google Chrome' program from the list. Document will open in a new chrome window/tab. 
Press 'control + p' or select 'Print' form 'file' menu option.
You will see the 'print preview' window. On the left hand side you will see options where at the bottom you can select 'Two-sided'. Printing now will print the document on both side of paper.




Unix is Fun


who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; fsck; more; yes; more; gasp; yes; uptime; umount; sleep






StopWatch and other Hacks




Say Yes to all confirmations


So sometimes it happens that you are installing some package or compiling some source code and it asks for your confirmation
Do you want to continue (y/n)?
 so instead of pressing 'y' everytime you just can do this

How to Reset the Root password of any Ubuntu Machine.



You might need to change the root password of your Ubuntu Machine, May be you forgot the password or you want to Log-in into your friend's system and you don't know the password.

Here is the trick to achieve this.

1. Restart the system.

Sharing files in Linux.


Wanna Share some file with your friend ? Here are three methods.

1. The traditional way. Transfer files to Pen Drive and then your friend copy it to their system. This is the best way to share if both system are not in same network.

Cons - 

  • File is copied 2 times.
  • What if file size is more than size of pen drive.


2. Install apache 2. 

Installing Ubuntu 12.04 on Windows Machine.


Ubuntu is one of the most popular Linux flavor. Release 12.04 have support till April 2017. Here are steps on how to install it on your window machine. Official website links are provided for help.


Ubuntu can be installed in 3 ways. 


How to remove Ubutnu if installed on seperate partition (Dual Boot system)





If you have installed Linux on its own partition in a dual-boot configuration, there’s no easy uninstaller that will remove it for you. You will need to delete its partitions and repair the Windows boot loader on your own.
To remove the Ubuntu from your system, follow these steps.


Deleting Linux Partition.

VI editor : Arrow keys and Backspace keys are not working properly.




It has been found that on a new installation of Ubuntu [lets say 13.04] , when you try to write some code in VI editor, the arrow keys are not working as expected.

It becomes very frustrating when you wants to navigate in the code using arrow key and instead of cursor moving up and down you see characters like A , B , C or D in middle of text.

Disabling Guest login in Ubuntu 13.04



1. Open the terminal (cntrl + Alt + t).

2. Run the command
    
   sudo gedit /etc/lightdm/lightdm.conf