9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I get a different output when i manually run the .sh script and when it is run by a cron job. Please help me ..
OUTPUT="/lhome/bbuser/script/wslog/sar.out"... (8 Replies)
Discussion started by: nithinankam
2. Shell Programming and Scripting
I have a very basic query for 'echo $$' command.
When I am executing echo $$ on console then it is giving different output than the execution of echo $$ in a script.
bash-3.2$ echo $$
In Script:... (3 Replies)
Discussion started by: manishdivs
3. UNIX for Advanced & Expert Users
I tried several times to get answer to the below problem. Someone can please help me?
$ cat p1.sh
while # indefinite loop
$ cat c1.sh # sleep for 10 sec and exit
Execute P1 as ./p1 &
$ ps -eaf | grep c1... (1 Reply)
Discussion started by: alexalex1
i want to know if there is any difference in working and syntax declaration of abstract class in Java and C++. (1 Reply)
Discussion started by: haravivar
5. Shell Programming and Scripting
I have the following script (MyScript):
ps U erv | grep -v grep | grep -F "/usr/bin/collect -o 101"
echo "Result: $?"
When executed from the command line, I get
... (the line containing /usr/bin/collect -o 101)
(which is correct since collect is running)
When I... (4 Replies)
Discussion started by: lost_neko
6. Shell Programming and Scripting
On my system there is a script which making backup to ftp site. But it leaves copy of files on local machine. Then i go to Midnight Commander and check manually with MC features - i open ftp directory and copy files <if size differs>.
So, how can i do the last thing in shell or other... (1 Reply)
Discussion started by: kukuruku
7. UNIX for Advanced & Expert Users
I always find that the pid I get from:
ps -ef |grep syslog-ng
this also happens on other pids. why?
If I am going to kill a process, which pid should I use? (1 Reply)
Discussion started by: fredao
8. Shell Programming and Scripting
it is a simple problem, but I am totally new to shell programming
There are 2 files. I have to print the 5 five lines which are different.
I appreciate any help.
10x. (2 Replies)
Discussion started by: atticus
I am having two machines. I am using g++v2.95
When I do the build,the size of output file on both machines differ. I am not able to find what can be the problem. Both the machines are solaris 5.6
The command is :
g++ -c -g -I./ -I../../../include -I/usr/local/include/g++-3... (1 Reply)
Discussion started by: manishs13