Tagged questions

13 results found

Shell programming questionAugust 16, 2011

Hi, I have the following scenario: I have a file file full of these lines among others differents: 2010-10-13 12:07:01.981 [081] Statistic  SmscWorker_1         INCOMING S 201

7

views

0

votes

8

answers

Shell Script HelpAugust 16, 2011

I need a way to use a script to take a file in a given directory (path will not change) and copy it to another directory but name the file the name of the other file and delete the old file.  An

4

views

0

votes

2

answers

Using Here Documents within SSH/Shell ScriptsAugust 16, 2011

I'm working on a script to ssh from one system (query_server) to a database on another system (db_server) to run some sql updates commands and then exit I have a version of this working that has t

10

views

0

votes

7

answers

create and use a variable set to hostnameAugust 16, 2011

Create a Bourne shell script for a backup.  I need a variable that is the combination of the hostname and "backup", e.g. for the host Server1 I want a variable, say HOST, to be Server1.

9

views

0

votes

4

answers

Unable to get correct output using sed commandAugust 16, 2011

I have a file, 'old', that merely consists of the following date string: "Wed 1/30 7:14" (without the quotes).  I would like the change the string to "Wed 01/30 07:14"

6

views

0

votes

8

answers

Bourne Shell Confirmation scriptAugust 16, 2011

trying to veryfy data sent and data received using sum command are the same. how do i set them in a script using bourne shell from sending server.

8

views

0

votes

6

answers

Attempting to shift data values in a flat fileAugust 16, 2011

I have a data file that looks a bit like this: yymmdd | _here_ | _date_AT1 |  job_name  | short desc | timerange | status yymmdd | _here_ | _date_AT2 | job_name | short desc | timerange | st

7

views

0

votes

5

answers

How do I accomplish a goto in Bourne shell?August 17, 2011

I understand goto's are poor programming - but I have some rather lengthy shell scripts I have to test.  If everything works but the last 10 lines - I need to run through script for say the f

9

views

0

votes

13

answers

.Profiles for Bourne Shell; How do you setup for History of Commands and recall of previous commandsAugust 17, 2011

Need some examples of some initial profiles for new users that use the Bourne Shell on Sun Solaris.  Need some command line commands that allow to see the history of commands and recall previous

8

views

0

votes

4

answers

Super Sim Clone and othersJune 23, 2016

I have searched thru these forums trying an many combo's as I could think of and couldn't find it so hopefully this isnt a repeat set of questions. -In the Bourne Supremacy, Jason Bourne makes a copy

14

views

0

votes

1

answers