Showing posts with label LUNIX. Show all posts
Showing posts with label LUNIX. Show all posts

Saturday, 4 April 2015

What's the Difference Ubuntu & Linux Mint

What's the Difference Ubuntu & Linux Mint

Ubuntu and Linux Mint are two of the most popular desktop Linux distributions at the moment. If you’re looking to take the dive into Linux – or you’ve already used Ubuntu or Mint – you wonder how they’re different.
Linux Mint and Ubuntu are closely related — Mint is based on Ubuntu. Although they were very similar at first, Ubuntu and Linux Mint have become increasingly different Linux distributions with different philosophies over time.

History

Ubuntu and other Linux distributions contain open-source software, so anyone can modify it, remix, and roll their own versions. Linux Mint’s first stable version, “Barbara,” was released in 2006. Barbara was a lightly customized Ubuntu system with a different theme and slightly different default software. Its major differentiating feature was its inclusion of proprietary software like Flash and Java, in addition to patent-encumbered codecs for playing MP3s and other types of multimedia. This software is included in Ubuntu’s repositories, but isn’t included on the Ubuntu disc. Many users liked Mint for the convenience installing the stuff by default, in contrast to Ubuntu’s more idealistic approach.
Over time, Mint differentiated itself from Ubuntu further, customizing the desktop and including a custom main menu and their own configuration tools. Mint is still based on Ubuntu – with the exception of Mint’s Debian Edition, which is based on Debian (Ubuntu itself is actually based on Debian).
With Ubuntu’s launch of the Unity desktop, Mint picked up additional steam. Instead of rolling the Unity desktop into Mint, Mint’s developers listened to their users and saw an opportunity to provide a different desktop experience from Ubuntu.

The Desktop

Ubuntu includes the Unity desktop by default, although you can install a wide variety of additional desktop environments from Ubuntu’s repositories and third-party personal package archives (PPAs).

Mint’s latest release comes in two versions, each with a different desktop: Cinnamon and MATE. Cinnamon is a more forward-looking desktop that builds on new technologies without throwing out standard desktop elements – for example, Cinnamon actually has a taskbar and an applications menu that doesn’t take over your entire screen. For a more in-depth tour, check out our guide to installing Cinnamon on Ubuntu.

MATE is a fork of the old GNOME 2 desktop that Ubuntu and Linux Mint previously used, and it works similarly. It uses MATE’s custom menu. For a more in-depth look, check out our guide to installing MATE on Ubuntu.

You’ll also notice that Mint has a more toned down and lighter color scheme Its window buttons are also on the right side of the window title bar instead of the left.
Which desktop environment you prefer ultimately comes down to personal choice. Ubuntu’s Unity is more jarring for users of the older Linux desktop environments, while Mint’s desktop environments are less of a drastic change. However, some people do prefer Unity, and Unity has improved somewhat in recent versions.

Proprietary Software & Codecs

Mint still includes proprietary software (like Flash) and codecs out-of-the-box, but this has become less of a differentiating feature. The latest versions of Ubuntu allow you to enable a single check box during installation and Ubuntu will automatically grab the proprietary software and codecs you need, without any additional work required.

Configurability

These days, Mint seems to offer more configurability than Ubuntu out-of-the-box. Whereas Ubuntu’s Unity only includes a few options in the latest version of Ubuntu, there’s an entire settings application for configuring the Cinnamon desktop.

The latest version of Mint, “Maya,” also includes the MDM display manager, which is based on the old GNOME Display Manager. Whereas Ubuntu doesn’t ship with any graphical configuration tools for tweaking its login screen, Mint ships with an administration panel that can customize the Login Screen.

While Ubuntu is still based on Linux and is configurable under-the-hood, many pieces of Ubuntu software aren’t very configurable. For example, Ubuntu’s Unity desktop has very few options.

Ubuntu’s latest versions are more of a break from the past, dispensing with the more traditional desktop environment and large amount of configuration options. Mint retains these, and feels more familiar.
Which do you prefer

Thursday, 22 January 2015

History of Ubuntu


Ubuntu has touched the lives of many among us in different ways. I can't speak for everyone here and hence I will share a few of my experiences with Ubuntu. For me, Ubuntu was the gateway to Linux and the whole open source way of thinking. Ubuntu taught me that computers are not all about Windows OS and that there are far better alternatives than the "default" Windows desktop which you have been made to see and learn from a younger age. Lets go back in time and see how Ubuntu evolved over the years to become what it is now - a totally awesome, user friendly and fast changing Linux based distro for human beings.

History of ubuntu

[image via ubuntu wallpapers]

A Brief History of Ubuntu
A new version of Ubuntu is released every 6 months and as of Oct 2010, a total of 15 stable releases of Ubuntu has happened. Each release also has a specific code name which are made using an adjective and an animal with the same first letter (e.g. Hardy Heron, Maverick Meerkat). We will have a brief overview of each one of them below. Read on.

Ubuntu 4.10 (Warty Warthog)

evolution of Ubuntu
Ubuntu 4.10 codenamed "Warty Warthog" marked the beginning of a new kid in the block, the first and foremost release of Ubuntu by Canonical foundation. This new Linux distro was based on Debian and aimed at giving new users a trouble free experience of Linux. This release also crucially brought the Ubuntu shipitfeature where by users could get Ubuntu installation CD's mailed to their homes for free through a simple signup. Shipit was one of those important features that augmented the widespread adoption of Ubuntu.

Ubuntu 5.04 (Hoary Hedgehog)

Ubuntu History

Ubuntu 5.04 codenamed "Hoary Hedgehog" was released on 8 April 2005. From this second release onwards, massive changes started to trickle in. Ubuntu 5.04 added many new features including an update manager, upgrade notifier, readahead and grepmap, suspend, hibernate and standby support, dynamic frequency scaling for processors among many other major improvements. Ubuntu 5.04 even introduced support for installation from USB devices. 

Ubuntu 5.10 (Breezy Badger)

Ubuntu 5.10 (Breezy Badger)

Ubuntu 5.10 codenamed "Breezy Badger" was released on 12 October 2005, the third stable release of Ubuntu by Canonical. Ubuntu 5.10 added several new features including a graphical bootloader (Usplash), an Add/Remove Applications tool, a menu editor, an easy language selector, crucial logical volume management support, full Hewlett-Packard printer support, OEM installer support among others. More importantly, this release also brought in Launchpad integration for bug reporting and software development.

Ubuntu 6.06 LTS (Dapper Drake)

Ubuntu 6.06 LTS Dapper Drake

Ubuntu 6.06 LTS codenamed "Dapper Drake" was released on 1 June 2006. It was also the first Long Term Support(LTS) release. This was also the only time when the Ubuntu release cycle was slightly pushed forward by 2 months owing to all sorts of delays. Many new features were introduced including having the Live CD and Install CD merged onto one disc, a graphical installer on Live CD, a network manager for easy switching of multiple wired and wireless connections, implementation of Humanlooks theme among other improvements.

Ubuntu 6.10 (Edgy Eft)

Ubuntu 6.10 (Edgy Eft)
Ubuntu 6.10 codenamed "Edgy Eft" was released on 26 October 2006, Canonical's fifth Ubuntu release. Tomboy and F-Spot became the new default applications for Ubuntu. Human theme also went through heavy modifications.

Ubuntu 7.04 (Feisty Fawn)

Ubuntu 7.04 (Feisty Fawn)

Ubuntu 7.04 codenamed "Feisty Fawn" was released on 19 April 2007. This release has a very special significance as far as I am concerned. Well, this was my first ever Ubuntu. I was a complete noob to the whole Linux way of life then and barely installed Ubuntu in my laptop with the help of friends and Ubuntu Forums. And the primary reason for trying out Ubuntu was Compiz to be frank. In those clogged XP-Vista days, Compiz was(and it still is) a breath of fresh air. Meanwhile, check out these stunning Compiz Experimental Plugins for a change.

Ubuntu 7.10 (Gutsy Gibbon)

Ubuntu 7.10 (Gutsy Gibbon)

Ubuntu 7.10 codenamed "Gutsy Gibbon" released on 18 October 2007. Ubuntu 7.10 introduced Compiz Fusion as a default feature. This seventh release of Ubuntu also marked the introduction of full NTFS support.

Ubuntu 8.04 LTS (Hardy Heron)

Ubuntu 8.04 LTS (Hardy Heron)

Ubuntu 8.04 codenamed "Hardy Heron" was released on 24 April 2008. This was the second LTS version of Ubuntu. In my opinion, this release had one of the best designed Ubuntu wallpaper as default. Brasero disc burner and transmissionbit torrent client were introduced during this release. Controversial Pulse Audio became the new default system sound server. This release also introduced Wubi installer using which you can install Ubuntu inside Windows without repartitioning the disk.

Ubuntu 8.10 (Intrepid Ibex)

Ubuntu 8.10 (Intrepid Ibex)

Ubuntu 8.10 codenamed Intrepid Ibex was released on 30 October 2008. It was the ninth Ubuntu release and it was also one of my favorite releases. This release introduced useful Ubuntu Live USB creator application. Guest session functionality was also introduced during Intrepid Ibex release.

Ubuntu 9.04 (Jaunty Jackalope)

Ubuntu 9.04 (Jaunty Jackalope)

Ubuntu 9.04 "Jaunty Jackalope" was released on 23 April 2009. This release marked the first time that all of Ubuntu's core development moved to the Bazaar distributed revision control system which is designed to make it easier for anyone to contribute to free and open source software projects. Faster boot time was another major achievement of this release.

Ubuntu 9.10 (Karmic Koala)

Ubuntu 9.10 (Karmic Koala)

Ubuntu 9.10 codenamed "Karmic Koala" released on 29 October 2009. From this release onwards, Ubuntu slowly started to shift gears. A slew of changes started to flood Ubuntu. During Ubuntu Karmic's release cycle, Canonical introduced the One Hundred Paper Cuts project, focusing developers to fix minor usability issues. This was a major move and it helped bring a lot of polish for Ubuntu in the latter releases. This release also introduced Ubuntu Software Center which went on to become the application that received enormous amount of attention later on.

Ubuntu 10.04 LTS (Lucid Lynx)

Ubuntu 10.04 LTS (Lucid Lynx)

Ubuntu 10.04 codenamed "Lucid Lynx" was released on 29 April 2010. Ubuntu 10.04 "Lucid Lynx" is my favorite release to date and it brought about the biggest amount of changes ever. Ubuntu had a complete branding makeover during this release cycle. Even the brown theme was ditched for the first time for a more bright and pleasant looking "Light" inspired theme. Browse through the amount of changes Ubuntu 10.04 Lucid Lynx went through.

Ubuntu 10.10 (Maverick Meerkat)

Ubuntu 10.10 (Maverick Meerkat)

Ubuntu 10.10 codenamed "Maverick Meerkat" was released on 10 October 2010 (10.10.10) at around 10:10 UTC. Close to the heels of Ubuntu Lucid release, Ubuntu Maverick was also packed with new features and improvements. Ubuntu Software Center became one of the applications that received maximum amount of attention. Canonical's attention to detail started showing up big time during Ubuntu 10.10 release cycle.

Ubuntu 11.04 (Natty Narwhal)

ubuntu natty

Ubuntu 11.04 "Natty Narwhal" was perhaps *the* most controversial Ubuntu release ever. Canonical introduced Unity shell with Ubuntu 11.04 which created quite a furore among its vast user base. Unity was Ubuntu's answer to GNOME 3.0's GNOME Shell desktop, though Ubuntu 11.04 was still based on previous GNOME 2.x.

Reactions from users was not really what Canonical would have hoped for. Unity was far less customisable when compared to good old GNOME 2.x based desktops and that was simply unacceptable to many long-term Ubuntu users.

Ubuntu 11.10 (Oneiric Ocelot)

Ubuntu 11.10

Ubuntu 11.10 codenamed "Oneiric Ocelot" was the first GNOME 3.0 based Ubuntu release. Oneiric did not brought in sweeping changes like its predecessor did. But it does brought in a lot of polish to the controversial Unity UI. LightDM replaced GDM as Ubuntu's new default login screen. Classic Gnome Desktop was completely ditched in favor of Unity 2D during this release cycle. If you are interested, here is a quick screenshot tour of Ubuntu 11.10 Oneiric Ocelot.

Ubuntu 12.04 LTS (Precise Pangolin)

Ubuntu 12.04 LTS 
  
Ubuntu 12.10(Quantal Quetzal)   


Sunday, 18 January 2015

30 Essential Linux Basic Commands You Must Know

Useful linux commands
Linux is basically an open source operating system (OS), which has been favored by people who have sound technical background along with for people who are just sick of seeing the lack of liberty and right kind of privacy in Windows and other operating systems. And when it comes to using the Linux, you need number of commands, which has to be employed for the primary functions including setting up the date, time, changing the password and even when you want to log out from the Linux based PC. 

Though the professionals using the Linux based systems are well versed with these steps or commands, however, the beginners are simply not aware of the same. They often are seen encountering bad time while working on the Linux based systems. The novices are supposed to press the key- Enter to start putting down the respective commands to see the needful. And if you are seen struck at any point of time, you have to press the command for help as well. So using this interface is pretty different from the user friendly interface of Windows, but it has other benefits over the other operating systems. The following are the top ten commands for novices, let’s check them out:

Important note: Linux commands are case sensitive.

Commands For Beginners

clear
This is the command to clear screen. When you work with Linux you have a great amount of possibility of trying loads of commands. This means you need to clean up the screen time and again so that you could focus on your desired job. In order to clear the mess you need the command of clear wherein you simply have to type ‘clear’ over the command prompt to see things clean over your screen. This command is also useful when you have to type long commands, which can confuse the users to see different details over the screen.

ls 
Shows list of files and directories.
This is probably one of the most commonly typed commands. This has many options to see different types of files and it also supports wild cards.
  • Show all files in current directory
  • ls
  • Show all files in a directory /mydir/some/path

    ls /mydir/some/path
  • Display details of all file in the list 
    ls -l
  • Display all hidden files as well (including the files name start with a do )
    ls -a
  • Display all file that have names starting with my

    ls my*

cd 
Used to change directory
  • Go to the home directory of logged in user
    cd
  • Go to a specific directory named /mydir/some/path
    cd /mydire/some/path

cp
Copy a file or directory from one location to another. 
  • Copy a file name file1 with name file2
    cp file1 file2
  • Copy the directory name dir1 to dir2
    cp -r dir1 dir2

mkdir
Create one or more directories
  • Create a directory named mydirecory
    mkdir mydirectory
  • Create 3 directories name dir1, dir2 and dir3
    mkdir dir1 dir2 dir3

man
Used to read more details about how to use any command
There are hundreds of commands and each of these commands are supported with dozens of options. You can always use this command to explore more options supported by a command. 
  • Show help for ls command 
    man ls
  • Show help for grep command 
    man grep

mv - Rename command
Used for renaming a file or directory. 

Rename file1 to file2

mv file1 file2

System Information

date
The command to see current date or set system date/time
In order to type the date in two digit month formats, two digit time formats, two digit date, two digit minutes, you need this command. This will in changing and setting the date and time over your Linux based computer. This command is very much useful when you want to log on being a root.
  • Display current date
    date
  • Set current system date to "June 20, 1985, 5:27 PM"

    date 0620172785
df
The command for checking available disc space
The computer users are often known to check the availability and consumed memory space over their systems for both the Linux and Windows desktop PCs. You can easily check the amount of memory available over the disk at your Linux system by simply typing the command of DF. It helps in offering you the status of file system disk space over your Linux based system.

df -h
du
Display disk space use by each file in the file system 
  • Display disk usage by each file in Documents directory
    du -h Documents
  • Display disk usage by the whole Documents direcotry 
    du – sh Documents

top
Display the top running processes on the system with memory and cpu utilization. 
  • Display all top running processes
    top
  • Display all top running processes from user fromdev 
    top -U fromdev

ps
Show the status of running processes
  • Display all running process status for current user
    ps
  • Display the list of all running processes on system with their status.
    ps -al

uname 
Find information about version and details of operating system
uname -a

File Operations


gzip
This command will compress a file in gzip format. 

gzip file1

gunzip
Uncompress the gzip file.
gunzip file1.gz

tail
Display last few lines contents of a file. Very useful to watch latest content updates on log file.
  • Watch running content of a logfile name logfile1 
    tail -f logfile1
  • Display last 100 lines of a file name myfile
    tail -100 myfile

scp
Copy a file to or from a remote host
  • Copy the file "myfile.txt" from a remote host to the local host
    scp your_username@remote-server:foobar.txt /path/to/local/directory


  • Copy a local file myfile.txt to remote server 
    scp myfile.txt your_username@remote-server:/path/to/copy/


  • Copy the directory "mydir" from the local host to a remote host's directory "myremotedir"

    scp -r mydir your_username@remote-server:/path/to/remote/directory/myremotedir



  • sftp
    This can be used for doing file transfer using secure ftp protocol. To open a sftp command prompt on a sftp server try this

    sftp your_username@remote-server

    cat
    Used to display the content of the file on console without opening it in a editor.. 
    cat myfile
    more 
    Used to display the content of a file on console with option to navigate in case the content is too large to fit in screen.
    more myfile

    find
    Find a file or directory on the system using this command
    • Find a file myfile.txt in current directory and its subdirectories. 
      find . -name “myfile.txt”
    • Find all files in Documents directory that are larger that 25MB in size
      find . -size +25M -exec du -h {} \;
    • Find all .doc files on the system that have been modified in the last 5 days.
      find . –name “*.doc” –mtime -5
    • Find all .txt files on the system that were modified in last 15 minutes
      find . –name “*.txt” –mmin -15
    • Find all files that contain a string “I am inside file”.
      find . -name "*" -exec grep -i -H "I am inside file" {} \;

    grep
    This command is used to search all the lines in all files in a specified location containing a string. 
    • Search for a specific string “myname” in a file myfile.txt
      grep “myname” myfile.txt
    • Search for a specific string “myname” with ignoring the case in a file myfile.txt
      grep -i “myname” myfile.txt
    • Search for a specific string “myname” in a all files in current directory
      grep “myname” *
    • Search for full word “myword” in a file myfile.txt
      grep -w “myword” myfile.txt
    • Search a string “myname” in all files in all subdirectories recursively 
      grep -r “myname” *

    rm 
    Remove a file or directory using this command
  • Remove a file name myfile.txt 
    rm myfile.txt


  • Remove a directory mydir 
    rm -r mydir


  • Remove a file myfile.txt forcefully
    rm -f myfile.txt



  • chmod
    The command for manipulating the file permissions
    For better security, the permissions for file in Linux OS are categorized into different groups, users and other sections. You have the option of controlling the permissions by assigning the users under the given divisions via the command of ‘chmod’. These permissions would help the users to write, read and execute the respective files. This option is very much handy when you have to run a script in order to install the package, which remains non executable in the default for security reasons. With the command of ‘chmod +x’ you could end up making the script executable over your Linux system.
    • Provide execute permission on a file myfile.txt to all users
      chmod +x myfile.txt
    • Provide read permission on a file myfile.txt to all users
      chmod +r myfile.txt
    • Provide full permissions (read/write/execute) on a file myfile.txt to yourself but everyone else has only read and execute
      chmod 755 myfile.txt
    • Provide full permissions (read/write/execute) on a file myfile.txt to everyone
      chmod 777 myfile.txt

    chown 
    Change ownership of a file. You should be either root or the owner of the file to successfully run this command. 
  • Change the ownership of a file myfile.txt to another_user who is part of another_group

    chown another_user:another_group myfile.txt



  • Change the ownership of a directory mydir1 recursively to another_user who is part of another_group

    chown -R another_user:another_group mydir1


  • Other Useful Commands


    passwd 
    This is the command for changing the password. Passwords play an important role in securing your data found in your desktop computer. In order to keep the system full proof against the hacking attacks, you need to keep on changing your passwords every three months. The users over Linux computers could do the same using a particular command of ‘change password’ over the command prompt and do the needful. After you type the command, all you need to do is to type the new password twice, and you are done with the same.

    logout
    Command for logging out. By typing this command, you would be logged out from your Linux based computer. This command will help in disconnecting from your Linux based PCs or simply help in logging out the session that you are seen over your desktop. All you need to do is to remember the account you have logged out as it may bring a couple of security issues. Hence it is highly suggested to use a log out the moment you finish your task over your PC.

    kill -9
    The command to terminate the process by its process id. You may find certain Linux applications not responding at such junctures, you could simply get away from this scenario by typing the kill command, which will help in terminating the process. For this you need the process ‘PID’ of the particular application, which could be done with the help of “ps” command. You could further use this command to kill the command to terminate the application, which is not responding.

    Terminate a process with with ID 1234

    kill -9 1234

    ”>” - The operator to redirect output
    Though this may not be called as a command by many yet it is among the important steps to master while you start working with Linux over the command line. For this you need several tools, which also include the pipe. These help in redirecting the output (that is often printed over the screen) somewhere else like the text file or any other application. This command is used to complete any file over the Linux system.
    • Copy content of file1 to file2
      cat file1 > file2
    • Append content of file1 to file2
      cat file1>>file2
    • Create a new file myfile.txt with text “some text” 
      echo “some text” > myfile.txt

    pipe (|) operator
    The pipe operator is a powerful operator that can be used to join two commands together. Usign this operator output of one command can become input to another command. For example
    • Display live occurrence of text “myname” in a file myfile.log

      tail -f myfile.logs | grep “myname”
    • Count the number of lines in a file myfile1 
      cat myfile1 | wc -l
    • Find all running java processes on a system
      ps -aef | grep “java”
    • Find all .txt files containing text “myname” 
      find . -name “*.txt” | xargs grep “myname”

    history
    This is the command for recall. 
    You need to use history to rerun any command. If you enter this command without any kind of switch, you end up getting the history list along with the line numbers. Also, you could even perform some additional search of the given history list with this command.

    exit
    Use this to quit the command line shell on a linux system.

    Final Word


    Commands have great importance in Linux. You cannot move an inch while using the Linux based PC. The above are some of the best commands for the beginners, which are mandatory to run a Linux based computer.

    It can be really frustrating to get started on any linux system if you do not have idea about basic operations. I hope these commands empower you to do something more productively. 

    Are you still facing issues in doing something on linux? Share your experience on comments? 

    Related Posts Plugin for WordPress, Blogger...
    Twitter Delicious Facebook Digg Stumbleupon Favorites More

     
    TRICKS AND TIPS CREATED BY SUSHIL UPADHYAY| Grants for single moms