473,406 Members | 2,769 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,406 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 3583
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.