473,399 Members | 3,038 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Book to learn Linux terminal

AmberJain
884 Expert 512MB
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
3 3582
Nepomuk
3,112 Expert 2GB
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
mac11
256 100+
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
884 Expert 512MB
THANKS nepomuk and mac11.............

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

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

Similar topics

5
by: Alexander Schmolck | last post by:
This is only partly a python question, but what is the easiest way to get python to (reliably) beep under linux? By reliably I mean that ``print "\b"`` won't do because it depends on the terminal...
5
by: Panama Red | last post by:
I would like to learn to program in c++ on Linux and AIX systems...mainly socket and fifo type stuff. Can someone recommend a book for someone with experience only with Perl, shell, and Pick/Basic...
1
by: Adriaan Renting | last post by:
I have the problem that I need to interact with a CD/DVD burning program called gear. I do this by running it in a pseudo terminal. I also need to log what I'm doing, so I copy all output I get...
12
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now...
12
by: Guido Mureddu | last post by:
Hello, I'm a student in electronic engineering. I do know you've seen and answered this sort of topic/request countless times, but I haven't found past threads as helpful as I had hoped, and...
23
by: IOANNIS MANOLOUDIS | last post by:
I want to learn python. I plan to buy a book. I always find printed material more convenient than reading on-line tutorials. I don't know PERL or any other scripting language. I only know some...
1
Nepomuk
by: Nepomuk | last post by:
In most modern distributions of Linux and Unix (at least ones with graphical environments like KDE, Gnome or XFCE), you get to mount your partitions easily from the desktop. In some cases however, it...
4
by: gaurav kashyap | last post by:
Dear all, I am using Microsoft Windows XP.Using putty.exe,I connected to LINUX server and a terminal window gets opened.Here i logeed in as root. What i want to do is open another terminal...
3
by: bytehunter | last post by:
Hello, I hope this is the best place to ask my question. I was wondering if there was such a thing as a pseudo terminal in Windows. For those unfamiliar, in Linux/Unix one can create a pseudo...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.