Shell script interview question...help required urgent!!!


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Shell script interview question...help required urgent!!!
# 1  
Old 08-26-2008
Shell script interview question...help required urgent!!!

hi i have cancelled my previous post

Last edited by choco4202002; 08-26-2008 at 07:24 PM..
# 2  
Old 08-26-2008
is it possible you to post some of that file content..
# 3  
Old 08-26-2008
there is no file content ....one has to create it
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies

2. UNIX for Dummies Questions & Answers

Interview question

A process(apache/webservice) is continually writing a log(it is a single log, there are no several logs with different file names) onto a unix system. the file system is filling up. How do you handle the situation. Is there a way to handle this situation without killing the parent process.(... (1 Reply)
Discussion started by: ramky79
1 Replies

3. Shell Programming and Scripting

Script invoked using "sh" is not executing. Urgent help required

Hi , I am new to shell scripting. I am using Linux for doing scripting. Below is my script, which takes 2 parameters as input. test.sh has the below: #!/bin/bash . $HOME/.profile gpg --yes --no-use-agent -r "$(eval echo \$$2_Var)" -e $1 1st parameter is command line... (7 Replies)
Discussion started by: rangarb
7 Replies

4. Shell Programming and Scripting

Interview Questions Required... Very urgent..

Hello everybody... I am a Faculty trainer in Unix working in a firm. Actually i needed around 800-1000 Linux related questions (Unix Commands,Shell Scripting,Unix Administration)... Can anyone help me... (1 Reply)
Discussion started by: mraghunandanan
1 Replies

5. Shell Programming and Scripting

URGENT SCRIPT LOGIC required

Hello friends, It will be great if we found some way to check this our: we have some databases (teradata and oracle). our applications(in java on weblogic) are using connection pools of these databases. we have a pair of userID and password for every pool. If we have any logic to test... (2 Replies)
Discussion started by: NIMISH AGARWAL
2 Replies

6. UNIX for Dummies Questions & Answers

Interview question....help

what distros have you selected in the past, for which applications, and why did you choose them? Would you make the same choices again, knowing what you know now? Any help will be really appreciated!! (2 Replies)
Discussion started by: choco4202002
2 Replies

7. Programming

Interview question ...pls help!!

You have a compiled C binary which you can execute and run, but you suspect it may be hanging. You do not have the source. What can you do to gather information and/or clues about what the program is doing? Any help will be really appreciated!! (1 Reply)
Discussion started by: choco4202002
1 Replies

8. Shell Programming and Scripting

Script to archive log files:Urgent Help required

I have no prior knowledge of Unix shell scripting,but my requriment demands to wrie a script that do fallowing things. 1.Delete older than one year log files 2.Moves files in to the directories as YYYYMM wise. 3.If files in $LOGDIR older than n=2 months tar and move them to $ARCHIVEDIR... (5 Replies)
Discussion started by: vamsx
5 Replies

9. Shell Programming and Scripting

Urgent help required in deleting a line without opening a file usinga shell script

Hi, I need a help in deleting a line matching a particular pattern in a file using shell script without opening the file. The file is a .c/.cpp file. Is it possible? Thanks (6 Replies)
Discussion started by: naan
6 Replies

10. Shell Programming and Scripting

Very Urgent help required in Shell Program

How do I Ftp, and rename multiple files in one unix script. I have to send it with .tmp extension , then rename it to .txt after FTP is done . I need to do a Mass rename of more than 1 file in a shell script , Urgent help required. (1 Reply)
Discussion started by: Suppandi
1 Replies
Login or Register to Ask a Question