Unix Script Question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unix Script Question
# 1  
Old 02-13-2008
Unix Script Question

Hi to all in forum and I hope someone will be able to help.

It is likely that over the next couple of months I have to get a hands on knowledge of Unix due to incoming work in company and I hope to be able to get some knowledge from the general Unix community.

In the meantime I have one question that has arisen. Is it possible using a Unix script to convert one set of numbers to another? For example my company uses a swipe card that records the time a user swiped on a time and attendance system. It records the clock on/off times against the employees staff number. Due to the company changing hands we may have a need to change all employees staff numbers but only on the pay system. Ideally what would happen is when the user swipes in with their old pay number the Unix based time and attendance system would convert this old number to their new number and record it against that new number.

Sorry if this has dragged on and if anyone needs any clarification then please ask.

Cheers,

Kencheck
# 2  
Old 02-13-2008
Yes, it is possible.
# 3  
Old 02-15-2008
Unix Script Question

Thank you for your reply. Can you tell me if this is a straight forward task? Would it be possible for you to give me an example of the scripting that would have to be used?

Thanks,

Kencheck
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

UNIX shell script question.

I need to check whether the directory is exist or not. only three letter will be passed as argument. from that it should pick the entire directory. Instead of banking and manfucuture the input will be passed as man or ban. $1 -> ban $2-> monday #!/bin/sh DIR='/sales/$1*/monday' if ;... (3 Replies)
Discussion started by: arun888
3 Replies

2. Shell Programming and Scripting

UNIX question

In unix, does the file size present is In byte format ? -rw-r-----+ 1 stck stck 20340713 Mar 3 10:11 C44444.STC.112 Can you you tell me how to filter the file size which should be less than the file size "20340713" one in particular directory. (3 Replies)
Discussion started by: ramkumar15
3 Replies

3. Homework & Coursework Questions

UNIX script coding HW question

i am trying to write a script code in unix that will: 1. The problem statement, all variables and given/known data: display following menu to user: (A) Add (B) Subtract (C) Multiply (D) Divide (E) Modulus (F) Exponentiation (G) Exit Then ask user for choice (A-F). After taking... (5 Replies)
Discussion started by: renegade755
5 Replies

4. Shell Programming and Scripting

Unix Shell Script question

I have the following script ========= #!/bin/sh MUTEXPREFIX="/tmp/" READMUTEX=(test globallock) # If mutexes found - exit out for m in "${READMUTEX}"; do || (echo "$0 Mutex file found - Exiting\n" ; exit 1) done; echo "After for loop\n"; exit;============= What i want... (8 Replies)
Discussion started by: GosarJunk
8 Replies

5. Shell Programming and Scripting

New Unix user with shell script question using grep

Hello, I am a new Unix user and new to shell programming. I am working on a script to go through a log file and find the text error: grep -i 'error' monplus.mplog if I find the text error in the log file I would like to echo a message to the operator staing there is an error I am currently... (2 Replies)
Discussion started by: dtracy01
2 Replies

6. Homework & Coursework Questions

Unix Script - Changing Variable Question

This is a problem with basic Unix scripting. Thanks for looking! 1. The problem statement, all variables and given/known data: Make a script that will compare 2 given directories and output those filenames that are in Directory 1 and not 2 2. Relevant commands, code, scripts, algorithms:... (1 Reply)
Discussion started by: iamhungry
1 Replies

7. Shell Programming and Scripting

Unix Horror story script question

This text and script is borrowed from the "Unix Horror Stories" document. It states as follows """""Management told us to email a security notice to every user on the our system (at that time, around 3000 users). A certain novice administrator on our system wanted to do it, so I instructed... (5 Replies)
Discussion started by: scottsiddharth
5 Replies

8. UNIX for Dummies Questions & Answers

Unix History Question: Why are filenames/dirnames case sentsitive in Unix?

I tried looking for the answer online and came up with only a few semi-answers as to why file and directory names are case sensitive in Unix. Right off the bat, I'll say this doesn't bother me. But I run into tons of Windows and OpenVMS admins in my day job who go batty when they have to deal... (3 Replies)
Discussion started by: deckard
3 Replies

9. UNIX for Dummies Questions & Answers

Unix 10.2 question

I'm a verteran to Windows but i newbie to UNIX so i hope this isn't too dumb of a question. I have an HP 9000 D Class Server that has 10.2 and uses a console. The console died and i was told i can put a standard EISA video card in it and use a regualr monitor and keyboard. My question is how do i... (5 Replies)
Discussion started by: egress1
5 Replies

10. IP Networking

unix to unix serial connection question

hi there i'm a new bie just got few simple questions to ask. I got expert in windows configuration but totally new to unix environment . I want to make sure a com port (com1) is working, so I connect a 9-pin cable (CB9) for both PC using Unix environment (unix to unix). The question are (1)... (1 Reply)
Discussion started by: typsam
1 Replies
Login or Register to Ask a Question