Search Results

Search: Posts Made By: tsaravanan
9,892
Posted By tsaravanan
Find C function definition in from Shell script
Hi,

I am having list of C function names say
function1
function2
function3
and i am having many source files under my current directory.
Now i would like to find...
Forum: Linux 11-24-2010
31,388
Posted By tsaravanan
Hi Mark54g, prtconf -D | egrep...
Hi Mark54g,

prtconf -D | egrep 'pci,|network|ethernet|SUNW,qfe'
pci, instance #0 (driver name: pcicmu)
pci, instance #0 (driver name: px)
pci, instance #0 (driver name: pxb_plx)
...
Forum: Linux 11-22-2010
31,388
Posted By tsaravanan
prtconf in Linux
Hello,

i would like to know the alternate command in Linux for the below command used in Solaris.
# prtconf -D | egrep 'pci,|network|ethernet|SUNW,qfe'
pci, instance #0 (driver name: pcicmu)
...
14,747
Posted By tsaravanan
Try using FTP. open cmd; ftp <Linux Ip> ...
Try using FTP.
open cmd;
ftp <Linux Ip>
enter Linux user name and password
enter bi to copy files in binary mode.
use get <file name> to copy files or use
enter prompt to cancel to give yes...
Forum: Programming 07-31-2010
3,514
Posted By tsaravanan
could not open source file "sys/elf_386.h"
Hello All,

i am porting my application from SunSolaris to Linux (RHEL4).
When i compile my c/c++ code i am getting the following errors.

1. catastrophic error: could not open source file...
2,730
Posted By tsaravanan
Whether a string is a valid unix command
How to find a string which is entered in command promt is a valid unix command or not?.

Thanks in advance

~Saravana
Forum: Linux 07-15-2010
9,806
Posted By tsaravanan
ct, cu, tip, on commands in Linux
Please help me to find out the equivalent commands for the following solaris commands in Linux

1. ct
2. cu
3. tip
4. on


Your help will be appreciated.

Thanks in advance.
...
5,418
Posted By tsaravanan
Copy a file by creating folder structure in destination as in Souce
Hello,

i am having a source directory which consist of multiple sub directories and my destination folder is a empty directory.

if try to copy a file source->test->1.txt from source to...
Forum: Solaris 09-07-2009
4,957
Posted By tsaravanan
How to set PS1 in env
Hello

whenenver i login to solaris server the prompt is displaying as #. i want to customize the promt with server name for all users.

how to customize the PS1 variable for all the users?....
4,846
Posted By tsaravanan
thanks otheus :)
thanks otheus :)
4,846
Posted By tsaravanan
output redirect
Hi

i am compiling a source code by make command.
i want to redirect the output of make to a file but at the same time i want to see the output in terminal.

how to do this ?.

please...
2,689
Posted By tsaravanan
Problem in argument passing
Hell all,

i have a problem in argument passing.

print()
{
a=$1
b=$2
c=$3

echo $a
echo $b
echo $c
}

x="1 2 3"
y="4 5 6"
z="7 8 9"

print $x $y $z.
3,555
Posted By tsaravanan
Hi all, Thanks all. it working fine.
Hi all,

Thanks all. it working fine.
3,555
Posted By tsaravanan
how to extract values b/w two delimiters
Hi,

Please help me to extrat values b/w two delimiters.

$ echo $abc
[%12345%]

i want to extract the value 12345 b/w %.
2,025
Posted By tsaravanan
thanks yar. its working fine.
thanks yar. its working fine.
2,025
Posted By tsaravanan
problem in sed command
Hi,

i have a script to replace a string.

$ cat List.txt
/DIR1/DIR2/DIR3/abcdefgh
/DIR1/DIR2/DIR3/abcd
/DIR1/DIR2/DIR3/abcdefghijk
/DIR1/DIR2/DIR3/xyz

$ ind=`/DIR1/DIR2/DIR3/abcd`
$...
2,909
Posted By tsaravanan
wow. its working fine. thanks a lot.
wow.
its working fine. thanks a lot.
2,909
Posted By tsaravanan
i want grep the file with out giving full word...
i want grep the file with out giving full word Random.
i will give only "Ran".
it has to grep the lines which are matches have the pattern [%xxxxRanxxxx%]

Note : xxxx may any string.
2,909
Posted By tsaravanan
actually the line is like this ...
actually the line is like this
[%XYZ12345%];/abc/abc.cpp@@/main/1;xyz
[%XYZ12345%];/abc/abc.cpp@@/main/2;usr2
[%XYZ2345%];/abc/abc.cpp@@/main/1;Rand
[%XYZ98989%];/abc/abc.cpp@@/main/2;usr2...
2,909
Posted By tsaravanan
doubt in grep command
Hello

i am new shell scripting.

I have a file like this,

$ cat myfile

[%XYZ12345%];/abc/abc.cpp@@/main/1;xyz
[%XYZ12345%];/abc/abc.cpp@@/main/2;usr2...
2,802
Posted By tsaravanan
How to find entering ENTER key?.
Hello All,

i have a script to get input from the user like bellow,

read -p "Do you want to continue (y/n) : " status

i want to identify the pressing of Enter Key with out giving any value...
Showing results 1 to 21 of 21

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