Search Results

Search: Posts Made By: lipun4u
Forum: Programming 10-09-2010
1,743
Posted By lipun4u
gdb help
i have created some break points in gdb.

let's say....

b sqlcxt

how can i know the breakpoint name of sqlcxt ???
Forum: Programming 04-10-2010
6,512
Posted By lipun4u
inet_aton and inet_addr
wht is the difference between inet_aton and inet_addr function ??
1,184
Posted By lipun4u
data in file while creation
I want to add some starting information in a file while creation.

like if I type vi test.sh

then
#!/bin/bash
will be added automatically.

Somebody suggest me how to do this ??
1,868
Posted By lipun4u
Reverse multiword
Just check out the script...


1 #!/bin/bash
2
3 echo -n "Enter a string :: "
4 read str
5 echo -n "Reverse is :: "
6 l=`expr length "$str"`
7...
1,928
Posted By lipun4u
op is invalid
In the following code

a=
[ -n $a ]
echo $?
[ -z $a ]
echo $?

Why the op is
1,252
Posted By lipun4u
script op is different
Consider the following script..

str1="Good"
str2="Bad"
str3=
[ $str1 = $str2 ]
echo $?
[ $str1 != $str2 ]
echo $?
[ -n $str1 ]
echo $?
[ -z "$str3" ]
echo $?
[ -z $str3 ]
echo $?
[...
1,904
Posted By lipun4u
yes now I see
yes now I see
1,904
Posted By lipun4u
why ?
why ?
1,166
Posted By lipun4u
I want to do this using shell scripting
I want to do this using shell scripting
1,904
Posted By lipun4u
thanx everybody that was a silly mistake
thanx everybody

that was a silly mistake
1,166
Posted By lipun4u
string revering fails
Consider the following code

#!\bib\bash

echo -n "Enter string : "
read str
l=`expr length "$str"`
while [ "$l" -gt 0 ]
do
echo -e `echo $str | cut -c"$l"`"\c"
l=`expr "$l" -...
1,904
Posted By lipun4u
if else error
Why the following script shows error ???


#!\bin\bash

echo -n "Enter number1 : "
read num1
echo -n "Enter number2 : "
read num2
read -n "Enter number3 : "
read num3
if [ "$num1" -gt...
Forum: Programming 08-18-2009
6,933
Posted By lipun4u
yes....but atexit() does not take any arguments....
yes....but atexit() does not take any arguments. How can this be implemented in object oriented paradigm ???
Forum: Programming 08-18-2009
6,933
Posted By lipun4u
exit in cpp
In a program if we call exit(0), it exits the program and before that it closes all opened stream.

In C++, it even does destroys the created objects. Is there any function available, which if...
2,501
Posted By lipun4u
poweroff
I want 2 authorize all the users to use poweroff command. How can I do this ??:o
Forum: Programming 08-17-2009
6,870
Posted By lipun4u
thamx...I got this
thamx...I got this
2,879
Posted By lipun4u
in unix 0 is true rest r false...am I right ???
in unix 0 is true rest r false...am I right ???
2,879
Posted By lipun4u
I think the o/p should be 0 1 0
I think the o/p should be 0 1 0
2,879
Posted By lipun4u
op of logical operator
Why the op of the following code is like this ????


i=4 j=-1 k=0
[ $i -o $j -o $k ]
echo $?
[ $i -a $j -a $k ]
echo $?
[ $i -a $j -o $k ]
echo $?
Forum: Programming 08-14-2009
6,870
Posted By lipun4u
I entered 100....but it still hangs...
I entered 100....but it still hangs...
Forum: Programming 08-13-2009
6,870
Posted By lipun4u
fork() and the program is hanging...
Consider the following code..

#include <unistd.h>
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
#include <sys/wait.h>
#include <stdlib.h>

int main()
{
pid_t childpid;...
Forum: Programming 08-12-2009
32,556
Posted By lipun4u
difference between exit() and _exit()
By using exit() and _exit() we can terminate a program. What is the:confused: difference between these two ???
8,191
Posted By lipun4u
let the file name is test.dat cat...
let the file name is test.dat



cat test.dat | cut -d"/" -f10



it will only work if source zip files are stored in a single directory..
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 08:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy