General :: Make .sh File Receive Data From Php?

Apr 17, 2011

in my php page they ask the user to enter some input example like year. i want that input to be transfer into my .sh file and will show its output. how to make .sh file receive data from php and php sent data to .sh file

View 1 Replies


ADVERTISEMENT

General :: Make Arithmetic Operation Of Data File With Script File?

Aug 31, 2010

I wonder how to arithmetic operation of our data file using any script program/command (like sed, cut,awk)for example my data.file is:

45 65 42
12 23 61
43 34 21

I want to multiply first column with 2 and add second column with 3 then it become

90 68 42
24 26 61
86 37 21

View 5 Replies View Related

General :: Send And Receive File Through Minicom?

Mar 30, 2010

I have setup CentOS as server and Fedora as Client.Now I want to transfer file from server to client through minicom.How to do that?I tried sending file from CentOs and it does have a ASCII format file transfer option while on the other OS only few like xmodem , ymodem and zmodem type of file transfer was present.

View 2 Replies View Related

CentOS 5 Networking :: Can't Receive The Multicast Data

Mar 27, 2009

I'm trying to receive data that is being broadcast on address 224.0.1.1, 224.0.1.2, 224.0.1.3, 224.0.1.4. ports are 1201, 1202, 1203, 1204 respectively. I can see the data using wireshark but can not get my program to receive the data. all firewalls are shutdown. iptables is not running, i've set net.ipv4_icmp_ignore_broadcasts = 0 and still no luck.

View 1 Replies View Related

General :: Make And Sh Commands - Make A File Called File Roller For Ubuntu 9.10

Apr 6, 2010

I want to make a file called file roller for Ubuntu 9.10. The folder has a file called install.sh and some others that are make.

I figure first I need to make a file and then run install.sh to install. But I don't know how to do this.

View 2 Replies View Related

Fedora Networking :: Unable To Receive Multicast Data

Jun 13, 2010

I have just set up an FC 13 box for a small network application. At the core, the application is supposed to receive some data over a multicast on my local network. However, for some reason, I am not being able to receive any multicast data on this machine. Other machines, on the same network (connected on the same layer 2 switch) are receiving the multicast just fine. I have tried the following things:

1. ensure that I am joining the multicast on the correct interface: the machine has only one ethernet card. Also, after starting my application, I use netstat -g to check for group membership. The multicast subscription shows up fine.

2. ensure there is no error in the program: the program works fine on my person linux machine

3. ensure that the multicast is actually available: it is available on all other local machines. I also wrote my own small broadcaster. data from this broadcaster (running on the same box) is available to other machines but not to my own listener program.

4. no firewall/filtering settings on the layer2 switch

5. TTL setting on the broadcast: have tried changing it from 1 through 5 with no effect. Note that even if the broadcast is coming from the same machine, my machine does not pick it up while other machines on the network do so.

I suspect this has to do with some settings on the network card itself. Below is the output of /sbin/ifconfig on the card:

eth0 Link encap:Ethernet HWaddr 00:08:A1:67:BBA
inet addr:192.200.20.32 Bcast:192.200.20.255 Mask:255.255.255.0
inet6 addr: fe80::208:a1ff:fe67:bbca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[code]....

View 3 Replies View Related

Networking :: MRTG - Specify Which Interfaces I Want To Receive And Display Data From?

Dec 23, 2008

is anyone familiar with MRTG? i have it up and running just fine, but i have a bunch of interfaces showing up with no data and i want to weed those out. how to specify which interfaces i want to receive and display data from?

View 1 Replies View Related

Programming :: Send /receive Data Through Serial Port In Fedora?

Dec 27, 2010

I am doing work on serial port. I want to send/receive data to/from Microcontrolar through serial port. But I don't know how to initialize, receive and send data to Serial port. i am new in fedora so i hav'nt any deep concept of fedora.can anyone send me C code , which communicate through serial port in fedora (or atleast help me). I am using Fedora 11.

View 6 Replies View Related

Ubuntu Networking :: Intermittent Connection With Bcm4312 - Unable To Send Or Receive Any Data For 30 Seconds

Jul 31, 2010

I have a Dell laptop with a bcm4312 wireless card. Every once in a while though, the laptop is unable to send or receive any data for 30 seconds. The connection is not dropped, and nothing shows up in any system logs. Both the wl and b43 drivers have this problem, but it works fine under vista.

View 1 Replies View Related

General :: Make Firefox Not Cache Data?

Mar 4, 2010

I don't want my Firefox browser to store anything in a cache. Is there a way to shut the cache off?

View 6 Replies View Related

Software :: Make And Receive Phone Calls With The AT&T's Velocity/GI461 USB Modem?

Apr 7, 2011

I've bought the new AT&T's Velocity/GI461 USB modem. This is a nice toy because into one only stick there are integrated all the features that I need,like the GSM/3G/GPS modules. Googling I've found a good tutorial about how to connect it under Debian and about how to control the GPS data. You can read it going here :

[URL]

but what about to make and receive phone calls through the SIM card integrated and the AT commands ? Can someone give some help ? I've attached some documentation. Maybe this can be done using Wammu and/or Gnokii.

[URL]

View 1 Replies View Related

General :: Data From Input File To Be Taken And Send To Output File?

Jul 24, 2010

I am new to shell scripting.What i am trying is to write a shell script which take the input file and output should like as mentioned below.Output file should have data till SOK (marked in red)from every second line and then the selected data(marked in green) from 4th line.So selected data from 2nd and 4th line in one line of O/P file and then similarly selected data from 6th and 8th line in second line of O/P file.Input File:

3c3
< c1111;11.11.11.11;pOK;SOK:abcde;Universe:aa
---

[code]...

View 14 Replies View Related

General :: Using Sed To Extrac Data From Xml Tags And Make The Result Displayed In One Line?

Apr 18, 2011

I have an xml file that is similar to this.Suppose that this file name is Example.

<PMID>10605436</PMID>
<Year>2000</Year>
<ArticleTitle>Steroids</ArticleTitle>

[code]...

View 5 Replies View Related

Ubuntu :: Make With Make File Yields Error - /usr/bin/javac: Cannot Execute Binary File

Nov 17, 2010

When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.

I get an error indicating that the make utility cannot execute the java compile command (javac).

The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file

I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.

I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6

My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu

However, I can manually compile using javac.

I can compile calling javac from within a bash script.

I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe

But I cannot compile java code from the makefile. Any reasons why I might be getting this error?

View 4 Replies View Related

General :: 6.13 GMP-5.0.0 LFS Make Error - Cannot Open Shared Object File: No Such File Or Directory

Jun 10, 2010

I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:

error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'

[code]....

View 5 Replies View Related

General :: Configure File Successfully But Make File Displayed Some Errors?

Jun 29, 2010

i am having a problem concern zlib installation.i tried configure file successfully but make file displayed some errors.that usr/linux/limits.h not found.so i found that i have to install glibc-headers-devel...but there is no such a kind of package in ubuntu repository?/????/some people saying that libc6-devel is equal to them!

View 1 Replies View Related

Debian :: Can't Receive File Via Blueman

Dec 10, 2015

I have installed blueman on XFCE desktop I can send files but I can't receive files what is the problem ? when I open Adapters and change items it dosen't work , indeed it doesn't save changes why ?

View 5 Replies View Related

Ubuntu Servers :: Access The Data In .fbd Data File

Feb 19, 2011

We purchased a new database system at work last October, ditching the old system because of a lack of support from the vendor. This is a retail Point of Sale and Backoffice database system. I am not sure what system the new one runs on, but the system we replaced was a Firebird data base. The reason I am posting is because we are now in need of the information contained in the old database which was not completely imported into the new system.

Basically the problem is this: The database in on a Windows XP system and I found a copy of SQL Manager Lite 2008 on the system, which after quite a bit of studying, I figured out how to extract the database into a removable file. I have this file (178MB) on a USB stick in a file called Backoffice.fbd.

My studying suggests to me that I can get into this database with MySQL. I have never used this and have no clue how to do this. All I want to be able to do get into the database and create tab deliminated spreadsheet files for each of the database sections (Customers, Repairs, Sales History, stock files, etc.) Is it possible to do this with Ubuntu and MySQL and if so, can expert suggest one or two things to get me started. While a guided tutorial would be nice because I am not an expert, I am willing to learn on my own if someone could point me in the right direction.

View 3 Replies View Related

General :: How To Do Grap Data Between Two File

May 6, 2010

The first file is a "key" of second file. In the second file, the first word is the key of each line. Each key and sentence in second file ONLY have one line. The Second File have many lines with key, but not all the key is shown on file1, but file1's key MUST in the second file. How can I get the result like this: (Need to sort by the key from File1)

View 4 Replies View Related

General :: Using SED Or AWK To Cut Data From A File Between Certain Characters

Oct 23, 2010

I would like to create a .ksh script which cuts certain data from a document. I have tried to use SED and AWK and piping but its been some time since i have operated on Linux and my memory is patchy.

View 14 Replies View Related

Networking :: Receive Mail Where Is Openswan Configuration File?

Apr 28, 2010

I want to connect OpenVPN to office network. I receive mail where is openswan configuration file, but I want to OpenVPN

conn CONNECTION-NAME
disablearrivalcheck=no
type=tunnel
left=IP MY SERVER
right=IP OFFICE SERVER
rightsubnet=LOCAL IP SERVER IN OFFICE/32

[Code]....

View 1 Replies View Related

Networking :: Can't Receive File In Yahoo Service With Pidgin

Jan 12, 2011

I can not receive file in yahoo service with pidgin !

View 3 Replies View Related

General :: Delete The File And Its Actual Associated Data?

May 12, 2011

I'm confused about "hard link" feature. I've been learning from my UNIX Academy DVDs training that hard links to a file can be many and each of them is an effective filename for the associated data. So let assume that we have some very sensitive data in a file and we want it to be deleted and file has 20 links. I "delete" a file, but in fact I deleted only one "name" of it. My understanding from the training that data is still there until we delete the last associated hard link. But how can I find the names of all of them? If we have the names, they can be removed one by one. Or may be there's command that can trace all the "names" and remove them at once?

View 14 Replies View Related

General :: Migration Of Data File In Unix

Aug 10, 2011

We planned to migrate data files in Unix to Linux. The file in Unix is in big endian data format where is linux is configured as little endian byre structure. This is causing problem in data computation.

How data can be ported to linux ( converting big endian to little endian).

How linux configured can be configured for big endian byte structure.

View 3 Replies View Related

General :: Finding Data From A Text File?

Mar 22, 2010

I'm trying to write a shell script which finds bits of data from a text file. at the moment i'm using grep and basically i need a function which will look through the text file and take the data out of it. the file has days, months, years etc and i want it so i can type feb 06 and it finds all of the data for feb 06.

the problem i have is i can type feb and all the information comes back for feb, but i can't get it more precise e.g. feb 2009 and it finds just feb 2009, it seems to ignore that latter half. I've tried experimenting with egrep and having two inputs but i can't seem to fuse them together, it only takes the first input.

View 8 Replies View Related

General :: Script For Pulling Data Out Of A Txt File?

Aug 3, 2010

I would like to write a script that pulls the last line of data out of a txt file and then saves it to another txt file. The txt file that I am looking at resides here. [URL]

I know I can grab that file using wget. I've done a little scripting but nothing major.

View 7 Replies View Related

Ubuntu :: Get Postfix To Receive Mail From One Address And Pipe It To A PHP File?

Oct 7, 2010

Im running Ubuntu server 10.04 lts

Im trying to get postfix to receive mail from one address and pipe it to a PHP file for a help desk software called Trellis Desk.

They recommended that I use Cpanel but its not free and my boss is not willing to pay for it. I need a free solution.

I know my way around Linux but Im no professional

View 1 Replies View Related

General :: Retrieving Data From Corrupt File System?

Oct 26, 2009

basically the situation I'm in is someone mistakenly expanded an NAS without unmounting the drive on the server. This corrupted the superblock and its apparent that all the backups are no good. The drive in question was expanded from about 800gigs to 1.8TBs, its done via an NAS.

At this point I'm most concerned about getting the files off the drive, I can deal with resetting the file system but I really need those files. This happened within a week of me joining this group so I'm kind of doing damage control here, backups were not taken of this particular drive.

View 1 Replies View Related

General :: Cannot Read The Chip Data On The Buffer File

Sep 1, 2010

Im having xeltek eeprom programer but I cannot read the chip data on the buffer file, when I read the chip using programer the datas are being sent to the buffer I can just see the adress line ,hex line and ascii line then I dont know which is the exactly data ,

View 1 Replies View Related

General :: Catalina.Out File Has Binary Data After Rotate

Feb 14, 2011

I manually rotated my catalina.out file, and now the file jumps to 30+Mb and when I try to view it, less tells me it might be a binary file. It sure appears to have binary data in it, about 30meg of it.

I did the rotate via a copy:
copy catalina.out to another file
cat /dev/null > catalina.out

I have tried using echo:
echo "" > catalina.out
...also with the same result.

This application isn't something I can just bounce when necessary. It kind of appears that the original file is still there - sort of. But is it not readable text anymore.

SunOS 5.10
tomcat 5.5.26 (version required by app vendor)

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved