2 script for assignment.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers 2 script for assignment.
# 1  
Old 04-10-2006
2 script for assignment.

I need a script that will check if what I input is a file or not.

Also a short script that copies a file that I tell it to, to a directory I tell it to.
Thanks. Those are the only 2 I need, I got the other 8 done.
# 2  
Old 04-10-2006
Please read our rules and note:

(6) Do not post classroom or homework problems.

I will close both of your threads.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need a little help with assignment

Hello all im currently working on this assignment and a little stump on how to check for an argument heres the instructions: Step 4: Modify your script so that if there is an argument called TestError you display the following error message with your usage statement. TestError found Example:... (1 Reply)
Discussion started by: bsn3971
1 Replies

2. Shell Programming and Scripting

Making a bash script and small C program for a homework assignment

Here's the assignment. I'll bold the parts that are rough for me. Unfortunately, that's quite a bit lol. The syntax is, of course, where my issues lie, for the most part. I don't have a lot of programming experience at all :/. I'd post what I've already done, but I'm so lost I really don't know... (1 Reply)
Discussion started by: twk101
1 Replies

3. Homework & Coursework Questions

Help Assignment !! :D

Q-1 Write a shell script in Unix that lists files from your current working directory · By modification time when called with lm · By access time when called with la. By default, the script should show the listing of all the files in the current directory. Q-2 Write a shell script which... (1 Reply)
Discussion started by: Vishank Parikh
1 Replies

4. Shell Programming and Scripting

AWK Variable assignment issue Ksh script

Hi There, I am writing a ksh script which assigns variable values from file "A" and passes that variables to file "B". While passing the parameters an additional "$" sign is being assigned to awk -v option. Could any one help me with this please. #!/bin/ksh head -1... (3 Replies)
Discussion started by: Jeevanm
3 Replies

5. Homework & Coursework Questions

help needed for an assignment script

1. The problem statement, all variables and given/known data: Hi, please advise a script/c program for following: write program p1 which will create shared memory to hold an integer value and will create One child process inside child process run another program say p2 .now p2 will... (1 Reply)
Discussion started by: fed.linuxgossip
1 Replies

6. Shell Programming and Scripting

help needed for an assignment script

Hi, please advise a script/c program for following: write program p1 which will create shared memory to hold an integer value and will create One child process inside child process run another program say p2 .now p2 will continuousiy assign value 15 to shared memory created by p1. Program p1... (1 Reply)
Discussion started by: fed.linuxgossip
1 Replies

7. Shell Programming and Scripting

CPU assignment bash script

Hi guys, I'm basically looking for some help with a bash script I've written. It's purpose is to assign process to individual CPU cores once that process hits 15% CPU usage or more. If it drops below 15%, it's unassigned again (using taskset). My problem is that I can't think of a way to... (2 Replies)
Discussion started by: mcky
2 Replies

8. Shell Programming and Scripting

Trying to run a script over ssh, having issues with tty assignment

Hey folks! I'm trying to run a tcpdump command that monitors for possible malicious traffic. I want to be able to run this on any of several remote boxes that I monitor which all have different capture interfaces. I've gotten the script to the point where it logs into the box and attempts to run... (8 Replies)
Discussion started by: JASI
8 Replies

9. UNIX for Dummies Questions & Answers

how to do my assignment?????

my lecturer want to do an assignment about telnet server..first, he want us to download the telnet server..then he want we do about copy files and share files by using the telnet server....what is that??? and one more thing is how to do 'ping'???? (1 Reply)
Discussion started by: amelia
1 Replies
Login or Register to Ask a Question