Using the command line in linux – part 1



I know many people get intimidated with a black screen, white text and blinking cursor. No mouse, not knowing where to start…. well, I’m going to spend a bit of time in this article trying to help show you how to survive the command line in linux. For starters, don’t think that linux is a command line only operating system. In some installs, the administrator may not want a gui, but there are some VERY functional and full featured graphical interfaces for linux. For me though, if you know what you want to accomplish, the command line can be a much more efficient way to “get the job done” for many tasks.


Ok, so let’s start…. we’ve either opened up a console window (konsole if you use KDE), or we have a fullscreen console open. IF we’re staring at a full screen console you may need to log in… type your username and press return (no mouse for clicking ok here…) and then type your password (likely it won’t “echo” or print on the screen as you type.) Press ok when you’ve typed that in. So now you have a very spartan looking $ prompt and blinking cursor… now what?

For starters, if you’ve never been at a command prompt before… you might type help and press enter. You’ll likely see a list of commands – when I do that… I see a lot of commands but near the top it says….

Type `help name’ to find out more about the function `name’.
Use `info bash’ to find out more about the shell in general.
Use `man -k’ or `info’ to find out more about commands not in this list.

Ok… so we can see some basic commands and have an idea of how to get a bit more information (help history for instance would give help on the history command.)

There’s also a hint in the above at other ways that we might find help (on a great many programs) The man and info commands. If the text has scrolled down too quickly to read, you might use shift-pageup to “scroll” back and see what you missed. Of course, if you’re using a console window you should be able to use the mouse to scroll.

For the most part when you have a console, the mouse is not used. If you need to move the cursor left or right, try the arrow keys and of course, as we saw for login, the enter key is like pressing the ok button with a mouse….

To log out, simply type exit (and press enter)

Related Posts

Blog Traffic Exchange Related Posts
  • Google Picasa for Linux One of the big stories out today... Google has released an "early beta" version of Picasa for linux. I first saw the news from the ZDNet Googling Google blog. There are deb, rpm and bin downloads available. The Official Google blog gives a few more details, for instance... this "magic"......
  • Administrative access on linux systems Tux magazine has a comparison of su and sudo as ways to administer a linux system. Many people are under the mistaken impression that you just login as root (gui or otherwise) and that's the only way to do it. In fact, I've used su primarily. Although in some circumstance......
  • Running windows applications directly in linux Linux.com has a good explanation of using binfmt_misc to directly launch a windows (or java or python) application just by typing in the application name. *(without all the contortions of ... /home/user/bin/wine /home/user/.wine/c_drive/Program\ Files/Really\ Neat\ Software/Program.exe ) You do have to make the app executable under linux (chmod 755) and......
Blog Traffic Exchange Related Websites
  • Different Kinds of US Currency to Collect There are plenty of different categories and themes for you to focus in on if you have decided that you want to collect US currency for your collection. These various focuses and categories help to keep your collection cohesive and give you a path to follow as you continue to......
  • Working from home means minimizing distractions and focusing on the task at hand It’s been three days now since The Urbane Way went from having a structured office setting at the Urbane Space to loosening up a bit and encouraging employees to work from the location of their choosing. The only person more happy than me about this new arrangement is Mona the......
  • Learning Time Management Skills We have all used the old saying why do today what you can put off until tomorrow. Sometimes this is not a bad thing. Yet others still can see the difference between getting any of their work done in a day or not. If this seems like we are describing......
www.pdf24.org    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site