GAURAV KUMAR

Wednesday, July 15, 2009

CLI over GUI

hello folks,
I am learning a bit linux nowadays.so, I thought it would be better to write something related to that.Don't worry , i will not teach you commands here(there are so many sources for that). I was thinking that CLI(command line interface) seems to be boring and cumbersome to use and I know so many people would say the same.Most of us are used to of windows' GUI(graphical user interface).Around 5 months ago my friend bought a laptop and got windows vista as default OS by that company.When i asked him to use linux,he said that as he had been using windows since childhood,he was more comfortable with that.Now i think that how can you compare two things without knowing both. If you also admire GUI then this is for you.CLI has really got some advantages over GUI.lets get it one by one
  • with a GUI, only the options provided by the interface are available to the user

  • lack of space on a screen can limit the number of options that a GUI displays

  • no standard methods exist within GUIs for performing standard command-line tasks, such as linking commands in sequences, redirecting output from one destination to another, or collecting commands into scripts


Shell keeps history of recent commands.its very useful.and, if you have to perform certain operations in sequence then you can create shell scripts also.shell script is just like batch files in windows.

there is one more thing that i have recently come to know.shell is more useful in hardware terms.Shells are much less resources-intensive than GUI's.shell requires less memory.It means that command issued in shell will run more quickly than in GUI.

Only thing that i feel difficult is to remember commands.well,once you get used to it,its much easier than you think.
That's it for today.hope,you got something useful.

5 comments:

  1. nice work gaurav
    informative and prudent
    nice work

    ReplyDelete
  2. Whatever you said is true . But, then, what for an average user? Won't he be more comfortable with a GUI?

    ReplyDelete
  3. nice insight gaurav
    keep working mere bhai...

    someday ill learn os development by you... :)

    ReplyDelete
  4. shashank i hope someday ill also learn robot development by u. ur mind is just great.

    ReplyDelete
  5. @nbafna yes an average user should use GUI if one is more comfortable with that

    ReplyDelete