How to clear the terminal command history

terminal

Clearing typed commands from terminal history: By default, up to the last 500 command lines a user types in the terminal window are saved into a hidden .bash_history file. The previously typed commands can be readily accessed by using the up and down arrow keys. This makes it easy to retrieve and reuse your recently used commands. However, maybe you want to clear the terminal command history list and start fresh?

This simple tutorial explains the process of viewing and then optionally clearing the terminal history.

Viewing the complete terminal command history:

To view the complete history of commands typed in the terminal “for the logged in user”, open the terminal and type history

How to clear the terminal command line history:

  1. Login with the user account whose terminal history you plan to clear
  2. Open a terminal window and type history -c
  3. Repeat the process if necessary for each user account

Linux Mint 17.2 released

cinnamon1-600x375

If you have never tried Linux Mint, you are doing yourself a huge disservice. It is a fantastically refreshing distribution — built on the dependable Ubuntu — that makes using a Linux-based operating system an absolute treat.

Typically featuring two desktop environments — Mate and Cinnamon — users can select an interface that meets their needs. Cinnamon in particular is very pretty, and has a traditional start menu that Windows defectors will appreciate. Today, Linux Mint 17.2 ‘Rafaela’ reaches a “final” release. If you are using Linux Mint already, you should definitely upgrade, while Linux-curious outsiders should consider it too.

The “shipping” Linux kernel is 3.16 and not 4.x, but advanced users can upgrade manually if they want. My advice is to stick with official upgrades from Mint to guarantee the most stability.

Huge work went into improving the performance of Cinnamon in particular. Users should expect to see less taxing CPU usage, which in turn, may make the desktop environment appropriate for less powerful systems too.

Mate users will not get anything to be particularly excited about. Maybe it is time to give Cinnamon another try.

One of the strongest aspects of Linux Mint, the update manager, gets a very smart update. “Packages can now be aliased and presented under a different name than their package name or source package name. When this is the case the original package names also appear in the interface as secondary information. This is used by Linux Mint to group related packages together or to present them with simpler and more understandable names. For instance, updates for “cjs”, or “muffin” which are essential to Cinnamon are now presented as “cinnamon-cjs” or “cinnamon-muffin” and appear just beside other Cinnamon updates”, says The Mint Team.

Linux gamers with NVIDIA graphics will be very happy. The Mint Team explains, “the NVIDIA drivers were upgraded from version 331.113 to version 346.72 to support recent NVIDIA chipsets. MDM was given better support for NVIDIA Prime. On NVIDIA Optimus equipped computers, you can now switch between your Intel and your NVIDIA card with a simple log out. You no longer need to reboot. A system tray icon also indicates which GPU is active and you can click on it to switch to the other one”.

What makes this a particularly great operating system choice is the long support. Believe it or not, 17.2 will get updates and support through 2019.

So what are you waiting for? It is time to give this awesome operating system a spin. You can download it here. If you are on Linux Mint 17 or 17.1, you can hopefully expect an update in the next few days.

How To Install Ubuntu Server 14.04 LTS Trusty Tahr

Trusty

This guide will describes the basic steps of installing Ubuntu Server 14.04 from beginning to end. As already we know, Ubuntu Server 14.04 LTS with codenamed “Trusty Tahr” is the newest version operating system for server released by canonical on April 17 2014.

Come with LTS version Ubuntu Server 14.04 will be supported for 5 years by canonical, it also includes few apps such as ( OpenStack 2014.1, Puppet 3, Xen 4.4, Ceph 0.79, Qemu 2.0.0, Open vSwitch 2.0.1, Libvirt 1.2.2, LXC 1.0, MAAS 1.5, Juju 1.18.1, strongSwan, MySQL, Apache 2.4, PHP 5.5) that easily to deploy and orchestrate services in the cloud.

More detail about Ubuntu Server 14.04 LTS you can found the full release notes at here.

Step by Step Installing Ubuntu Server 14.04 Trusty Tahr

Step 1. First, Download ubuntu server 14.04 lts from ubuntu official site or click the following link to download the Ubuntu Server:

Step 2. After downloaded, burn ISO image of ubuntu server 14.04 into cd or usb flash disk. Set your computer booting from usb flash disk or cd/dvd. the system will boot (start) from the cd/dvd or USB flash drive and it appears.

Select what language you would like to install. I am going to use English language

Ubuntu Server 14.04 language

Step 3. Select Install Ubuntu Server

Ubuntu Server 14.04 Install Ubuntu Server

Step 4. Select language that used for the installation process, default English

Ubuntu Server 14.04 Select language for Installation

Step 5. Select location that will used for time zone and also for example to help select the system locale

Ubuntu Server 14.04 Select Location

Step 6. Configure keyboard layout

Ubuntu Server 14.04 Configure the keyboard

Step 8. Select country of origin for the keyboard. I am going to use English (US).

Ubuntu Server 14.04 layout of keyboard varies per country

Step 9. Select the layout matching the keyboard for your machine. Default English

Ubuntu Server 14.04 select keyboard for machine

Step 10. Auto configure network

Ubuntu Server 14.04 loading addtional component

Step 11. Set Up users and password : Enter full name or real name for the new user, then select <Continue>

Ubuntu Server 14.04 setup users and passwords

Step 12. Set Up users and password : Enter name for your account, then select <Continue>

Ubuntu Server 14.04 setup users and passwords 2

Step 13. Set Up users and password : Enter password for the new user

Ubuntu Server 14.04 setup password

Step 14. Set Up users and password : Re-enter password for the new user

Ubuntu Server 14.04 re-enter password

Step 15. Set Up users and password : Answer <Yes> if you want to encrypt home directory. I recommend answer <No> because if your hard driver ever gets corrupted and you need to retrieve information it will be much easier to access it.

Ubuntu Server 14.04 Encrypt Home Directory

Step 16. Select your time zone

Ubuntu Server 14.04 time zone

Step 17. Partitioning Disks: In this case i will used partitioning methode LVM

Ubuntu Server 14.04 partition disk

Step 17. Partitioning Disks: Select Disk to partition

Ubuntu Server 14.04 Partition LVM

Step 18. Partitioning Disks: Answer <Yes> to write the change to disk and configure LVM

Ubuntu Server 14.04 configure LVM

Step 19. Partitioning Disks: Assign the size/amount of volume group to use for guided patitioning.

Ubuntu Server 14.04 lvm partition 2

Step 20. Partitioning Disks: Answer <Yes> to Write all the change to disk

Ubuntu Server 14.04 end of partition LVM

Step 21. Installing the System..

Ubuntu Server 14.04 installing system

Step 22. Configure HTTP Proxy: Select <Continue> unless you are using a proxy, in this case we are not.

Ubuntu Server 14.04 set proxy

Step 23. Configure Taskel: Select No automatic updates

Ubuntu Server 14.04 configuring taskel

Step 24. Software Selection: Select [*] OpenSSH Server by pressing space key on keyboard, then select continue

Ubuntu Server 14.04 ssh server

Step 24. Installing all Software.

Ubuntu Server 14.04 install software

Step 25. Answer to Install the GRUB boot loader on a hardisk

Ubuntu Server 14.04 install boot loader

Step 25. Installation is Complete, Select <Continue>

Ubuntu Server 14.04 Finishing Installation

Ubuntu Server 14.04 Trusty Tahr ready to use..

Ubuntu Server 14.04 is ready

The following video created by LinuxScoop and is describes basic steps how to installing Ubuntu Server 14.04 LTS from begining to end. Original Video found here

Link Reference: