By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,609 Members | 1,093 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,609 IT Pros & Developers. It's quick & easy.

Book to learn Linux terminal

AmberJain
Expert 100+
P: 884
HELLO,

I have some queries. Please help.

Let me tell you experts that I'm a linux newbie and an ABSOLUTE UNIX illiterate person.

I know a bit of linux and can easily handle GUI of Red hat Linux 9 which is installed on my system. But when it comes to Linux terminal, I know not much about it.

Q1. Which one is easy to learn-linux or unix terminal commands?

Q2. Which book should I prefer according to you to learn terminal commands?

THANKS............

============
AmbrNewlearner
============
Jun 19 '08 #1
Share this Question
Share on Google+
3 Replies

Nepomuk
Expert 2.5K+
P: 3,112
Some easy to learn terminal commands are:
  • cd (change directory)
    relative directories: cd my/Relative/Directory
    absolute directories: cd /my/Absolute/Directory
    one step up: cd ..
    stay in the same place: cd .
  • ls (list files)
    list all files: ls
    list files starting with an 'a': ls a*
    list files ending with '~': ls *~
  • cp (copy files)
    copy a file to somewhere: cp file /destination/of/that/file
    copy a directory to somewhere: cp -r dir/ /destination/of/that/dir/
  • mv (move or rename files)
    move a file: mv file /destination/of/that/file/
    rename a file: mv file newFileName
  • rm (delete a file)
    delete a single file: rm file
    delete a single directory with contents: rm -r directory
    delete all files in the current directory that start with 'a': rm a*
  • man (open the MANual of a given program)
    for example: man ls
  • mkdir (make a directory)
    relative: mkdir newDirectory
    absolute: mkdir /position/of/new/Directory/newDirectory
More commands can be found on this PDF.

If you want to get into bash programming, first place to look would be the bash manpage, second would be Google. Of course you can buy books, but especially for Linux, I've never found it necessary. The net is so much more universal and it's cheaper too :-D

Greetings,
Nepomuk
Jun 19 '08 #2

100+
P: 256
I agree with Nepomuk's last paragraph. When I want to do something but I don't know how, the first thing I do is ask google. Then maybe some manpages once google has helped me figure out which direction to start heading towards my goal.

Another tip: always assume linux can do anything you want, you just don't know how to make it go yet.
Jun 19 '08 #3

AmberJain
Expert 100+
P: 884
THANKS nepomuk and mac11.............

============
AmbrNewlearner
============
Jun 24 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.