10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi I just started scripting in my Unix class, but can't understand it and have trouble with homework. This is my homework:
Dean needs a daily written report of the status of his Unix computer. He wants to obtain certain information about users and processes that are only accessible by executing... (1 Reply)
Discussion started by: arbogastcarl
1 Replies
2. Shell Programming and Scripting
hi all,
I am writing a script and beginner in shell scripting. I have tried the below script. could you please check and let me know whether the below scirpt is correct.
Unix details : HP Unix
Input file.
cat input.txt | tail -4
HTS40002.W1978.PROM
HTS40003.W1978.PROM... (17 Replies)
Discussion started by: arun888
17 Replies
3. UNIX for Dummies Questions & Answers
Unix script coding help?
i am trying to write a code that will 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 users choice ask user for two numbers and
perform... (0 Replies)
Discussion started by: renegade755
0 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here is the problem:
Lesson 13 OBJ1: OST Class online.
Write a script called obj13-1.pl and a library... (2 Replies)
Discussion started by: valhalla
2 Replies
5. Homework & Coursework Questions
Hi :
I cant understand some subjects on DATABASE Class here i'm in small twon
i can't find someone to expalin it it to me
How can i get good site to find any tutoring throgh the chat or any way
i tried to find tutor in the irea but i failed . my question how to understand the... (1 Reply)
Discussion started by: Scotch
1 Replies
6. Programming
i just need guidance in this please.
people who will argue " homeworks are not allowed" , i just need help not solutions . thanks
CEG433/CEG633 - Operating Systems
please (1 Reply)
Discussion started by: evantheking
1 Replies
7. UNIX for Dummies Questions & Answers
folks;
I have a script to remove any files that older than 14 days then move any files that younger than 7 days to another directory. but for some reason it doesn't move the files, when i do it manually it works but not through the script. i tried 2 different ways in writing the move part but it... (6 Replies)
Discussion started by: Katkota
6 Replies
8. Shell Programming and Scripting
Folks;
I'm writing a shell script to extract some fields out of a log file & it will run periodically, how can i make it runs starting from where it left of. for example;
if the script will do the extract every 2 days, let's say the first run will extract fields until July 25, 2007 @ 11:15:22... (1 Reply)
Discussion started by: moe2266
1 Replies
9. Shell Programming and Scripting
Hello
I am working on cleaning up permissions on Oracle mountpoints and datafiles in unix. I am looking for a script or a scripting idea to 1st.
1. grep for owner oracle
2. ensure its a directory owned for oracle
3. chmod 750 on the oracle owned directory.
4. grep for oracle files, etc... (3 Replies)
Discussion started by: jigarlakhani
3 Replies
10. UNIX for Dummies Questions & Answers
I am writing a script that will identify the oldest file in a directory. Here's the syntax:
#!/bin/ksh
cd directory
chmod 777 *
ls -r -1t > file1
sed -n -e "1P" < file1 > file2
So my problem is, now I have file2, which contains the name of the oldest file in the directory. How do I use,... (1 Reply)
Discussion started by: kristy
1 Replies