Unix Command Urgent Help!

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unix Command Urgent Help!
# 1  
Old 08-13-2011
Unix Command Urgent Help!

Hi All,

i am new on this forum, can someone please answer the following questions as i am also new for UNIX, you help would be much appreciated:
1. How do you delete the full directory hierarchy?
2. How do you find out all process run by user Kamran ?
3. how would you extract something tar.gz file ?
4. How could you search a string in a file?
5. how could you return a line count from csv file ?
6. Given a csv file with Colum c1 to c5, how could you return only c1, c2 and c5?
7. How can you show the delta between two text files?
8. how can you display non printing character in a text file?
9. How would you create a symbolic link?
10. how would you list row between 100 and 120 of large logerroe.log file?
11. How would you list the contains of directory includes all of its sub directories, providing full details and sorted by modification time?
12. how could you do find replace from command line ?
13. How could you run a script on scheduled time
14. someone spread several copies of binaries throughout the system, several of them possible in your path, how would you know which binaries you are using when calling from command line ?
15. how would you setup the value of environment variable to output of a command
if someone can help me for the answers it would be really great help, as i need the answer asap.

Many thanks
# 2  
Old 08-13-2011
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Urgent..!!Split command

Hi All, I want to split the file after size gets above 100kb. So I am using below command. split -b 100kb File.txt Test But after first file, my record is breaking as in middle of the record, size of file is getting above 100kb. So after splitting half record is in one file and half... (1 Reply)
Discussion started by: Amey Dixit
1 Replies

2. Emergency UNIX and Linux Support

UNIX script URGENT!!!

#!/bin/sh INPUT () { echo "Please enter line number: " read LINE echo "Please enter column number that you want to modify: " read COLUMN head -$LINE dataf > line1; LINE=`expr $LINE + 1` head -$LINE dataf > line2; diff line1 line2 > tmp; sed -e... (18 Replies)
Discussion started by: beginner1988
18 Replies

3. UNIX for Advanced & Expert Users

Need a unix script - very urgent

Hi All, I need a script that invokes the sql query every 14 days and send email Very Very urgent this one to me.... (6 Replies)
Discussion started by: bujjisveeru
6 Replies

4. Shell Programming and Scripting

Need Help using sed command(very urgent)

Hi all, Actually i want to delete the .ps extension from package1.ps string by using sed. Can any body tell me that how shell i do it????????? It is very urgent. Can anybody help me. I am trying to do this in the following way. ps_file="package1.ps" echo $ps_file sed s/.ps//g $ps_file... (9 Replies)
Discussion started by: sunitachoudhury
9 Replies

5. HP-UX

HP Unix | Urgent Need Help

Hi, I'm new to unix and i'm using HP Unix I tried the following and getting error like 1. $sam sh:sam not found 2.Also i want to monitor/trace other user's command what they are using when am in to the same server Appreciate if any one help on this (4 Replies)
Discussion started by: msgobinathan
4 Replies

6. HP-UX

frecover command need help urgent please

Hi, I have a tape fbackup done (fbackup -f /dev/rmt/0m -i / -I index.fullfbackup) and I need to restore 3 filesystems, I would like to know the correct command and options: example: I want to restore the filesystem /data1 under /data1 and /data2 under another filesystem /datatest I tried... (4 Replies)
Discussion started by: touny
4 Replies

7. Shell Programming and Scripting

[urgent need help] unix script....

hi experts, i'm new in scripting unix i have some problem with my script below is shown my script : #!/bin/sh BASEDIR=/export/home/mapadm BINDIR=$BASEDIR/bin LOGDIR=$BASEDIR/log TDRDIR=$LOGDIR/TDR BACKUPDIR=/data/log export BASEDIR BINDIR LOGDIR TDRDIR BACKUPDIR YEAR=`date '+%Y'`... (21 Replies)
Discussion started by: bucci
21 Replies

8. Shell Programming and Scripting

Urgent Need your help --New to Unix

I am getting data like this in a flat file seg No Test A4 0000002595, A2, test ,Datatest Test, A1 0000002595, A1,SELF , Employed,1,2,3,400.50 Test, A2 0000002595, A2, test ,Data,eurp Test, A3 0000002595, A2, test ,Data I need to produce a flat file so that output file... (0 Replies)
Discussion started by: nikeng
0 Replies

9. UNIX for Dummies Questions & Answers

wc command help.... and other unix command....... urgent

hi all. thanks for looking i am doing some homework. one question is that when type wc and then how to tell the program that we have finished entering data? also why do some operating systems report 22 as the number of bytes in the file above, while others only 20? thanks so much,... (1 Reply)
Discussion started by: dashi2k
1 Replies

10. UNIX for Dummies Questions & Answers

I am in urgent need of all UNIX-derivates...

Hi, could anybody name all the different UNIX versions, producer, historie, etc? need a short briefing... THX a lot in advance... Greetings, PatrickXXO (2 Replies)
Discussion started by: PatrickXXO
2 Replies
Login or Register to Ask a Question