10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
If the user wants to call multiple files of their choosing and in different directories and then have all those files placed into one command ex: chmod * * file1 file2 how would you go about that?
I was thinking starting some like this and then thinking would I loop it.
ARRAY=($(find .... (3 Replies)
Discussion started by: Toscy
2. Shell Programming and Scripting
Data files coming in different names in a file name called process.txt.
The process needs to discard all the below files and only process two of the 4 file names available
... (1 Reply)
Discussion started by: dsravanam
3. UNIX for Dummies Questions & Answers
We've a process on AIX UNIX server which is executed by multiple uses during a day. I wish to create a log file for every time the process is executed. I wish to know how unique are PID(s) on AIX UNIX servers if I were to name the log files with <date> and <PID>?
E.g. If I create my... (1 Reply)
Discussion started by: vkumbhakarna
4. Shell Programming and Scripting
Hi I need help in that script, in which I am trying to copy all HTML files in a folder called WEBBACK, display names of the files copied and a message.
Here is the script:
set temp=`find *.html` \*TO FIND ALL THE HTML FILES*/
set n=$#temp \*N= NUMBER OF... (3 Replies)
Discussion started by: satnamsat
5. UNIX for Dummies Questions & Answers
I need to get the pid of a process and have to store the pid in a variable and i want to use this value(pid) of the variable for some process. Please can anyone tell me how to get the pid of a process and store it in a variable. please help me on this.
Thanks in advance,
Amudha (7 Replies)
Discussion started by: samudha
6. Shell Programming and Scripting
There is a file having a list of running PIDs and another file having
a list of registered PIDs. How can we check if each value of running
PIDs are less or more than the registered PIDs i.e. comparing the
value of each PID in both the files.
Request you to pls give your inputs. ... (2 Replies)
Discussion started by: marconi
7. UNIX for Advanced & Expert Users
I'm facing a unique problem!
When I run a program on HPUX, it runs fine but it also produces a bunch of files of the format:
the contents of these files are a bunch of numbers and I know for a fact that these files are not created by the program I'm running.
Seems... (3 Replies)
Discussion started by: zackz
8. Shell Programming and Scripting
In my project i have two process runs in the back end.
Once i start my project, and execute the command ps, i get below output:
PID TTY TIME CMD
9086 pts/1 0:00 ksh
9241 pts/1 0:02 java
9240 pts/1 0:00 shell_script_bg
java with 9241 PID is the main... (4 Replies)
Discussion started by: rkrgarlapati
9. UNIX for Dummies Questions & Answers
1. If I use an software application(which connects to the database in the server) in my local pc, how many PID should be registered? Would there be PID for the session and another PID for socket connection?
2. I noticed (through netstat) that when I logged in using the my software application,... (1 Reply)
Discussion started by: pcx26
question: for the below program
i just printed the value for pid, child pid and parent pid
why does it give me 6 values? i assume ppid is 28086
but can't figure out why there are 5 values printed instead of just two!
can someone comment on that!
#define DIM 8
int... (3 Replies)
Discussion started by: a25khan