10 More Discussions You Might Find Interesting
1. Ubuntu
How can I debug this script?
I want to know what it is doing or not doing?
#!/bin/bash
#
#
if ; then
# Do the thing you want before suspend here
echo "we are suspending." > /tmp/systemd_suspend_test.txt
elif ; then
# Do the thing you want after resume here
echo "and we are... (21 Replies)
Discussion started by: drew77
21 Replies
2. OS X (Apple)
Hello, I was looking at kernel log's and found some parts what was "interesting"
I previously started looking what has been going on in my computer because I had hacker attacks on my machine.
Installed Avira & Little Snitch - softwares
Previously my computer opened few folders what I have... (1 Reply)
Discussion started by: Scourge-
1 Replies
3. Shell Programming and Scripting
Can you help please ?
./get_df.sh: syntax error at line 13 : `then' unexpected
#!/bin/ksh
while :
do
PER=`df -h /DATA/ | nawk '{if (NR != 1) { sub (/%/,""); print $(NF-1)}}'`
if
then
if]
then
mailx -s "FS over 90 per" me@company.com
touch... (2 Replies)
Discussion started by: drbiloukos
2 Replies
4. AIX
Hello,
Can't find this package anywhere:
Searched all AIX 6.1 CD's - nothing
Serched expansion pack - nothing
Where do I get it ?
thanks
Vilius
---------- Post updated at 01:39 PM ---------- Previous update was at 10:58 AM ----------
Ok this was my mistake.
bos.adt.debug was... (1 Reply)
Discussion started by: vilius
1 Replies
5. OS X (Apple)
Hi,
In our program, we are using SIGTERM and i tired to put break point in this function. But my debuger is unable to brake at that point.
I am working on Mac X and using XCode.
Thanks (0 Replies)
Discussion started by: Saurabh78
0 Replies
6. Programming
Hi,
i' m using eclipse 3.2.2 on ubuntu. When i debug a program (C language) i cannot see any variable in the variables view. From the console (debug perspective) i can see the message: no source file named class.c. What is the problem???
thanks (1 Reply)
Discussion started by: littleboyblu
1 Replies
7. Shell Programming and Scripting
echo "input time in hhmmss"
read $st
h=`echo $st | cut -c1-2`
min=`echo $st | cut -c3-4`
s=`echo $st | cut -c5-6`
echo "input time in hhmmss"
read $end
h1=`echo $end | cut -c1-2`
min1=`echo $end | cut -c3-4`
s1=`echo $end | cut -c5-6`
x= `expr $h /* 60 + $min`
y= `expr $h1 /* 60 +... (8 Replies)
Discussion started by: abhishek27
8 Replies
8. Programming
Hi,
I recently has a C++ code which only run on Fedora Platform.
I wanted to run debugging on these code as I came across some unexplainable
scenario output.
Can anyone suggest how could I use any debugger? I tried to use GNU GDB but then the code I am dealing now are involving... (0 Replies)
Discussion started by: ahjiefreak
0 Replies
9. Programming
i am new to solaris
i have one module which contain certain header files and sub modules
i want ot execute the module and c what the values are beeing assigned to variables
is makefile only solution for this
is there any editor to help it,so that i can c the flow of the program and also... (1 Reply)
Discussion started by: ramneek
1 Replies
10. AIX
How to debug a shared library(.so file) on AIX? (1 Reply)
Discussion started by: AlbertGao
1 Replies