help me with basics

Thread Tools Search this Thread
# 1  
help me with basics

hello everyone

i have to start with unix as it is a part of my training programme and i have to do a self study, i dont know where to start from. i need some basic questions to be answerd like why we use unix ? what is a terminal? what is an editor? why we write commands inside terminal?
these may be dumb questions but i need help.please help out
# 2  
Welcome to the forum.

You can start by searching for your answers in the forum (or even google what you want).

Here are few links to start with:
1. Frequently Asked Questions
2. What Books Should I Read?
3. The Terminal in UNIX (external link)

Last edited by Scott; 03-15-2012 at 07:09 AM.. Reason: Updated link titles
# 3  

Smiliethanks the links helped.

---------- Post updated at 03:56 PM ---------- Previous update was at 03:37 PM ----------

Smilieplease tell whether writing commands in unix terminal is scripting ? if not how do we script? are shell scripting and unix scripting differnt?
# 4  
shell script = combination of commands which is used to do particular task.

so, basically you need to read more unix commands and execute the commands in terminal and understand it

after that, you can read about the shells, conditions, loops,..etc
# 5  
If you put few commands in a logical sequence in a file and give it execute permissions, then this file becomes a script.

For e.g., you can write a script to forcefully delete all the log files in a directory and notify the user if removal was a success.

#! /bin/bash
rm -f /my/dir/*.log
if [ $? -eq 0 ]
    echo "All log files removed"
    echo "Looks like something happened"

Shell script is a script written for a shell. And the shell could be any, depending on the OS you're working on.

Unix script could mean a script written specifically for any of the shells of Unix.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ls command basics???

how do i use the ls command with a single argument to list all files whose names end with the letter 'r'? (7 Replies)
Discussion started by: lilbo4231
7 Replies

2. AIX

AIX Basics

Hello , Everyone , I want to know the Aix Basics and how it works ,hardware related problems and solution etc. (1 Reply)
Discussion started by: narendram
1 Replies

3. UNIX for Dummies Questions & Answers

awk basics

Hi, Please tell me where can I get started with the basics and the whole awk stuff. Regards, Deepti (2 Replies)
Discussion started by: gaur.deepti
2 Replies

4. AIX

DB2 basics

Dear friends I am going to study DB2 and i dont have any experience with any DB's.. Please provide me with some links or pdf's for DB2 starters. any advice will be very usefull (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies

5. Shell Programming and Scripting

Scripts and basics

Hi, I have a script which I need to modify the date "01/10/2008" and "31/10/2008" every month before running the report. Can I have some script to take the date automatically from the cal option. Hope it makes sense. Thanks in advance. (1 Reply)
Discussion started by: Jayanthsec
1 Replies

6. UNIX for Dummies Questions & Answers

basics - if condition (contains)

Can any body help me on how to check whether a file contains a required extension or not. pseudo is: if (filename contains .jpg || filename contains .gif) --- do some thing end if Example file names: test1.grm.gtrx.drx.jpg test2.ds.gif test3.gif thanks in advance (2 Replies)
Discussion started by: devs
2 Replies

7. UNIX for Dummies Questions & Answers

UNIX Basics

I want to learn UNIX, but I have a few questions. If anybody could help me out I'd greatly appreciate it. First, I've decided I'm going to use Red Hat Linux and I've been told the only difference between 7.2 and the Professional (besides the price), is the tech support that you'll receive. Is... (2 Replies)
Discussion started by: paulSF
2 Replies

Featured Tech Videos