Search Results

Search: Posts Made By: xerox
10,565
Posted By xerox
:rolleyes:...hmmm That's interesting, not...
:rolleyes:...hmmm

That's interesting, not sure whether our ramfs had that command, but ill try that too....

Thanks.:b:
10,565
Posted By xerox
This is on an embedded device with Linux...
This is on an embedded device with Linux 2.6.27.39-grsec.

dmesg only gives kernel logs, the logs i intent to collect come from the ramfs, before booting the kernel.

:confused:
10,565
Posted By xerox
Capturing console (/dev/ttyS1) logs
Hi,

I have been trying to capture console logs from the init script.
When the ramfs is mounted, i check if usb is connected , if conncted, i mount it and redirected the console logs like so:

...
1,730
Posted By xerox
Thank you. Also i need to extract what is in...
Thank you.
Also i need to extract what is in between object one and two.


1.Objec
2222222aaaa
2.Object
222ddddd
3.Object
222ssss


I need
2222222aaaa
then
222ddddd
and so on...
1,730
Posted By xerox
Number each occurence using sed
hi,

I need to number each occurrence of a pattern within a file using sed.

Given

object
0000
object
111
object
222
I need following

1.object
0000
2.object
111
3.object
222
2
3,035
Posted By xerox
What the actual problem is that, there is an...
What the actual problem is that, there is an application that needs quite some amount of memory to run.

However, it does not get so much as our board is running low on memory. So we were thinking...
37,210
Posted By xerox
Make sure that your windows session is also...
Make sure that your windows session is also opened in the same workgroup.

I had a similar problem, once i changed my window's login to workgroup i was able to access the shared files. Just cross...
2
3,035
Posted By xerox
mmap
I want to know whether this is possile or ever been tried out.

I want to obtain a chuck of memory using mmap()

I do it so :


n = mmap(0, 8000, PROT_READ|PROT_WRITE,...
6,234
Posted By xerox
/etc/adjtime
I have a query regarding /etc/adjtime file.

We had an issue, where our system time was drifting.
We fixed this issue by changing Local to UTC in that file.

How will this change impact our...
2,026
Posted By xerox
Also to remove lines ending with ".order" ...
Also to remove lines ending with ".order"

how will i change command?
2,026
Posted By xerox
thanks a bunch!:b:
thanks a bunch!:b:
2,026
Posted By xerox
Extract using sed
Given a file with contents

/arch/powerpc/boot/4xx.o
> /arch/powerpc/boot/.4xx.o.cmd
> /arch/powerpc/boot/addnote
5766a5769
> /arch/powerpc/boot/.addnote.cmd
5768a5772,5773
>...
1,944
Posted By xerox
it's printing the entire line..... i got the...
it's printing the entire line.....

i got the solution

echo "busybox-1.11.1-1_WR3.0bg.armv6jel_vfp.rpm = 1.1111.2l2 " | sed 's/\.rpm.*$//'
1,944
Posted By xerox
yes, it works.... suppose my input is like...
yes, it works....
suppose my input is like this
busybox-1.11.1-1_WR3.0bg.armv6jel_vfp.rpm = 1.1111.2l2
i want to extract
busybox-1.11.1-1_WR3.0bg.armv6jel_vfp

given characters may follow...
1,944
Posted By xerox
thanks it worked ---------- Post updated at...
thanks it worked

---------- Post updated at 03:18 PM ---------- Previous update was at 02:53 PM ----------

Given the input :
busybox-1.11.1-1_WR3.0bg.armv6jel_vfp.rpm
i want to extract what...
1,944
Posted By xerox
input: python-2.5.1-26_WR3.0bg.armv6jel_vfp ...
input: python-2.5.1-26_WR3.0bg.armv6jel_vfp

expected output: 2.5.1-26


input: activemq-cpp-library-3.0.1-1_WR3.0bg.armv6jel_vfp


expected output: 3.0.1-1
1,944
Posted By xerox
Extraction of numbers from input
I have the following input:

xxxx-2.7.19_WR3

I have extract the following:

2.7.19

Can anyone suggest an awk or sed command to do the above...:confused:


another condition is
if the...
1,097
Posted By xerox
ifdown not executed
I have a binary that runs ifdown (to bring down wireless interface). When i run it from php, it is not being run. Is it because the Apache server (php) is run as non-root user?

Need Help!...
2,498
Posted By xerox
how do i change the environment...
how do i change the environment variables?:confused:

what can i do to make the binary interface run from the php page?
2,498
Posted By xerox
c binary not being executed with shell_exec()
I have written a c program. And compiled it to make a binary. Now when i try to call this binary from php page, it is not being executed.

[
2,509
Posted By xerox
Integrating bash script into php (page)
I have written a bash script...now i need to call the script from php page.

Can you give me an example to demonstrate how it is done?:(
28,613
Posted By xerox
im using... ubuntu 9.1
im using...
ubuntu 9.1
28,613
Posted By xerox
Difference between "/bin/bash" & "/bin/sh"
what if the difference between

#!/bin/sh


and


#!/bin/bash


I wrote a script with the second heading now when i change my heading to the first one ...the script is not executing...
23,983
Posted By xerox
what does this error indicate: ...
what does this error indicate:


./clone.sh: 1: Bad substitution
23,983
Posted By xerox
Ok..ill try once more....thanks... ...
Ok..ill try once more....thanks...

---------- Post updated at 04:38 PM ---------- Previous update was at 12:09 PM ----------

this is my code :


cert=`cat $usr_cert`

...
Showing results 1 to 25 of 43

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