CAn any1 help me pls...urgent need to pass up this monday


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers CAn any1 help me pls...urgent need to pass up this monday
# 1  
Old 07-20-2006
CAn any1 help me pls...urgent need to pass up this monday

CAn any1 help me pls...urgent need to pass up this monday my assigment.....
im new bird at unix so pls help me....
can any1 help me answer this question?

1a.What are the different type of shell available in UNIX.

b.How to know which shell you are currently used?

c.How to change the shell?

2. Using man commands, explain the following

a. What is man command used for?
b. What happened when you type man man?
c. Try man on other commands e.q man ls, man cat, man more. Explain the format of their outputs.

3. Type the following and answer the questions

$script assingment2
$ls -R
$man cat
$exit

$cat assingment2


a. What is script command used for?
b. What happened when you type the above sets of commands?

4. Viewing the contents of a file.

a. Create a file cantains 20 lines using cat command. Explain how you did it?
b. Using cat and more, view the contains of the file that you have created. Explain the different between cat and more.
c. Using man find out all the options in cat command. Try all the options and explain briefly what the options provided.
d. Using man find out all the options in more command. Try all the options and explain briefly what the options provided.
e. How can you create new file containing the contents of two files using command cat? (hint: use > to redirect output to file).

5. Managing Files.

a. How to use command cp to copy a file?
b. How to rename a file?
c. How to remove a file?
d. How do you ask the system to prompt you before removing files in the file list.
e. With the aids of man command, try command ls with all the options provided. Explain briefly a few of the options that you find useful.
f. How to list the file that start with “aaa”?

6. Managing directories.

a. Create directories so that you will get the following tree structure and explain step-by-step how you do that.

stm###

do it myself

I am happy with unix interesting

Solaris linux biar

Rahsia ct

b. How to know what is your current working directory?

c. If your current directory is myself,
i. how to change to directory Solaris using Relative path and Actual path

ii. how to create a file name hati in directory Rahsia using Relative path and Actual path

iii. How to make a copy of hati with the name heart in the same directory using Relative path and Actual path

iv. How to make a copy of hati with the same name in the directory Solaris using Relative path and Actual path

v. How to move file hati in Solaris to directory happy using Relative path and Actual path


7. What is the different between the command “whoami” and “who am i”?

8. Try and explain briefly what the following command do and the usage syntax?
a. whatis
b. whereis
c. lpr
d. cal
e. write
f. alias and unalias
g. hostname
h. lpr

9. Issue the command who and identify other users that is using the system. Find out how the following command is used for communication, and try it. Explain briefly your experience.
a. talk
b. write
# 2  
Old 07-20-2006
Sorry. Please take note of the forum rules:

Quote:
(6) Do not post classroom or homework problems.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help Me Pls Its Urgent!!!!!!!!!!!!!!!!

Hi, These are the text file I have //input1.txt// cd dir1/dir2/pg1.txt cd dir3/dir4/pg2.txt cd dir88/dir5/pg4.txt cd dir7/dir6/pg5.txt cd dir8/dir9/pg7.txt And each text file has some text. Now I have to write a shell script which reads input1.txt and changes the directory as shown... (1 Reply)
Discussion started by: bhavanabahety
1 Replies

2. Shell Programming and Scripting

pls help me very urgent

will post again (1 Reply)
Discussion started by: revertback
1 Replies

3. Shell Programming and Scripting

Pls Help me.. soon. Very urgent

I have downloaded the Putty SSH configuration. I have entered my Host name as illinois.engr.sjsu.edu and i am trying to save that. But i am unable to save. Also i opened the session and entered my log in name But it says using keyboard interactive authentication.I am not able to get into $ ... (2 Replies)
Discussion started by: VamsiVasili
2 Replies

4. UNIX for Dummies Questions & Answers

URGENT :pls help

Following is d code snipet #!/bin/ksh retVal=`sqlplus -s user/passwd\@oracle_sid <<EOF SET SERVEROUTPUT ON SIZE 100000 DECLARE STATUS_VALUE VARCHAR2(1); BEGIN SELECT temp1 INTO STATUS_VALUE FROM sai; DBMS_OUTPUT.PUT_LINE(STATUS_VALUE); END; / exit; EOF` echo "Return Value... (2 Replies)
Discussion started by: sainathdeg
2 Replies

5. Shell Programming and Scripting

If not working...pls help:URGENT

Following is d code snipet #!/bin/ksh retVal=`sqlplus -s user/passwd\@oracle_sid <<EOF SET SERVEROUTPUT ON SIZE 100000 DECLARE STATUS_VALUE VARCHAR2(1); BEGIN SELECT temp1 INTO STATUS_VALUE FROM sai; DBMS_OUTPUT.PUT_LINE(STATUS_VALUE); END; / exit; EOF` echo "Return Value... (4 Replies)
Discussion started by: sainathdeg
4 Replies

6. AIX

pass through printing help needed pls

Hi from a newbie We have set up 2 new IBM servers with AIX5.3 We have 3 Zebra printers with static IP adresses on their own print servers. I have set the up ok on the system using generic drivers, Zebra do not have a compatible driver for AIX. We are printing barcodes on these printers.... (2 Replies)
Discussion started by: RickP
2 Replies

7. Shell Programming and Scripting

Pls Help.. Really Urgent

Hi, I am creating a pipe in a directory $HOME/pipes. The pipename should be L${PROGNAME}. Whenever i embed these lines in shell script, i get an error mkfifo: No such file or directory. I am creating a pipe with the key word mkfifo $HOME/pipes/L${PROGNAME}. Please help me how to get... (5 Replies)
Discussion started by: raghavan.aero
5 Replies

8. UNIX for Dummies Questions & Answers

Crontab - URGENT pls

I put 30 2 * * * /usr/bin/tar cvf /dev/rct0 /u/csa/* in my crontab file (SCO5) but I want to be absolutely sure that the backup job finishes successfully. I know that whenever cron cannot execute a command sends an e-mail to root with the error code and/or an explanation of the problem. ... (6 Replies)
Discussion started by: pappous
6 Replies
Login or Register to Ask a Question