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


General :: Surveying The Unix Customer Statistical Data

Aug 11, 2010

I have been assigned with a job to survey the customers who use Open Source Linux and Unix distributions.Though Red Hat and Ubuntu are the most popular distros, but if someone who have ever got involved in tracking what % of the Linux Distribution being used by the customers.

View 14 Replies View Related

General :: Conversion Of Big Endian Data From Unix To Little Endian Data

Aug 8, 2011

Currently we have migrated data from Unix linux. The data in Unix is in Big endian byte structure. Where are as Linux (suse linux) byte structure us little endian. This byte order mismatch is creating problem when data is read again in microfocus cobol.

Is there any way to set byte order in Linux is big endian?

Is there any utility to convert data in big endian byte structure to little endian byte order.

View 4 Replies View Related

Ubuntu / Apple :: Removing ._DS_Store Files During Data Migration

Jun 22, 2010

I'm migrating data (music and videos mainly) from a NAS server that was being used as my iTuens Media Folder onto a fresh install of Ubuntu 10.04 and I'd like to get rid of all the ._DS files as well as other files that os x 10.4 has been creating such as duplicates of mp3 files but prefixed with "._".

The reason I'm keen to remove all of these files is because I stumbled across a corrupted ._DS_Store file that caused me all sorts of head aches and I don't want them causing any problems in linux.

I've used the search function in Nautilus to search for ._ but it returns no results, even when I'm searching in a directory that I know for certain has those files in it. I have 'View hidden files' selected.

View 2 Replies View Related

General :: UNIX File System Hierarchy?

Oct 3, 2010

What are the directories and files in Unix file-system that has default user permission set. For eg. home directory of a user can't be seen by the other users on the system without his permission. In the same way what are the other directories that by default has user permission set at the time user account has opened. Eg. /etc,/bin or what

View 3 Replies View Related

General :: Copying File From Unix To Network Drive?

Nov 16, 2010

Solaris is the os used. I want to copy files from UNIX Machine to windows network drive.I know smbclient,ftp can be used. But is there any other best option i can use?

View 2 Replies View Related

General :: Unix Command To Send File To Printer?

Mar 28, 2010

Is it true that the UNIX commands to send a file to a printer for printing are system-dependent?

View 2 Replies View Related

General :: Find The Tag Value In Xml File Through Unix Shell Script?

Nov 3, 2010

the below tag is in the xml file. Now i want to find and extract the value of application name test1 and test2 one by one in the unix shell script. how to do this

<application name="test1">
<application name="test2">


View 2 Replies View Related

General :: How To Look At History File In Unix Shell For User?

May 28, 2010

How to Look at history file in unix shell for a user, find 5 most often used commands.

View 5 Replies View Related

General :: Get The MAC Address From Windows Xp And Remove It From A File On A Unix Box?

Mar 13, 2011

I am tring to get the MAC address from windows xp and remove it from a file on a unix box. This is what I have so far:

getmac | plink.exe -ssh -pw "my pw" -noagent -m commands.txt root@
cd /root
tr '-' ':' | tr -d '[:blank:]'

now this is what I get


All I need is the MAC. Everything after Device* is not needed.The file is /var/db/captiveportal_mac.db. The MAC address are listed like this.


View 11 Replies View Related

General :: Windows - View The Unix Permissions Of A File In A .zip Archive?

May 19, 2010

is there a way to view the Unix permissions for a file under Windows?

View 1 Replies View Related

Programming :: Receiving Wrong Data On Winsock From Unix Socket

Jan 28, 2011

currently I've got a big problem on programming with sockets. I use the winsock2 API and want to receive data from a multicast adress running on a UNIX-PC. The connection works fine and I really receive data from this group, but as it seems not the right packages. The received data is saved in a char[]. E.g. at received_msg[12] is a float value. This one I would like to read out, convert and use it in later progress the next value is y at received_msg[16]. The same Code works on a Unix PC with unix sockets but converted to winsock I've got the described problem and I have to make this code work under windows.

Here a piece of the code (received_msg[12]='3f'):

Buffer is a struct containing the two float values x and y. If I convert the char as this under windows the value of x is a huge number. The correct value is around 192, so receveid_message[12] should be 1.92. Could it be that the Unix-PC is sending data in an other way than the winsock receive it?

View 2 Replies View Related

Server :: Migration Of Perfdata File To NDO Database In Nagios

Jun 23, 2011

We have Nagios and Pnp4nagios which saves performance data in hostperfdata and serviceperfdata files.Now we are migrating our system to centreon which will have NDO.

This will save the performance data to Mysql database.The requirement here is to feed current performance data file to NDO mysql database.

View 1 Replies View Related

General :: Convert "DOS" .txt File To Unix .txt File?

Apr 7, 2011

Possible Duplicate:convert CRLF's to line feeds on Linux

How can I convert DOS txt file to Unix txt file, so I can use my Linux parser properly?

View 7 Replies View Related

Ubuntu Servers :: Software Raid 5 Migration With A File System Change?

Jan 26, 2010

Everything is software raid using mdadm
3x320GB HDDs in raid 5
1x1.5TB HDDs in raid 1(don't ask)

The above are LVMed to create ~2TB of combined space using reiserFS. I'm not really happy with the performance so I'm moving to XFS while I'm at it.

I FINALLY got around to ordering 2 more 1.5TB HDDs. The end goal is.3x1.5TB HDD in raid 5 formatted to XFS for a total of around ~2.7GB of space.

1. Create raid 5 array using the new 2x1.5TB HDDs.(yes, very pointless at the moment, please continue reading)

2. Copy data from 2TB LVM to the new ~2.7TB raid 5. (will mdadm let me be an idiot? It apparently let me force create a single drive in a raid 1)

3. Move the original 1.5TB over to the new raid 5 to actually provide redundancy.

View 4 Replies View Related

Ubuntu :: File Extension Z - Unix Compressed Archive File?

May 6, 2010

Anyone know how to compress a file to extension z?not tar.gz , zip, 7zip

View 6 Replies View Related

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 :: 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:

< c1111;;pOK;SOK:abcde;Universe:aa


View 14 Replies View Related

General :: Thunderbird Migration From Windows

Apr 5, 2011

My wife has decided to give linux a try. I've installed Mint Linux 10 for her.Last week (bad timing) I converted her to Thunderbird. Now I have the task of moving all her mail folders and account settings from Thunderbird under Windows 7 to Thunderbird under linux.Other postings say all I have to do is copy the Windows profile directory to her home directory and rename it .thunderbird.

Doesn't work. When I start Thunderbird all it displays is a window for new account details.I tried just copying the <gibberish>.default directory across and renaming it to the one that was there. Again, no luck.Before it started using sqlite things were simple!I backed up with MozBackup, and then noticed that it only works with Windows.

View 2 Replies View Related

General :: Migration Cpanel To Plesk?

Apr 8, 2011

The thing is I need a bigger server, but at the same time I'm having problems with cpanel and centos and I'm quite bored. So now I want to migrate from my cpanel server to the plesk server keeping the domain and it's content. I tried to create a ticket in plesk support but either I didn't bought the server yet. So, what's the quickier and safest way to migrate? Is there any script?

View 1 Replies View Related

General :: Migration From HPUX To REL5?

Jan 31, 2011

We have our source codes migrated from HP-UX to LINUX REL 5. In some of the scripts, certain flags like -DHPUX -DUNIX have been use. I wanted to know, what can replace these flags in LINUX? then certain optimization flags are also used like +O2, etc. these give an error as O2:command not found in Linux. What can be the proper replacement for them?

View 1 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

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 :: 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 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 :: Mount HTFS (SCO Unix File System)?

Jul 30, 2010

Howto mount HTFS (SCO Unix file system) under Ubuntu?

View 3 Replies View Related

Programming :: Batch File To Run Unix Commands From Windows?

Nov 22, 2010

I need to write a windows batch file to run unix commands by logging onto a telnet unix server. For example , I might want the batch file to log onto the unix sever, run the ls command, collect the output in a file and ftp it back to my windows desktop

View 8 Replies View Related

Copyrights 2005-15, All rights reserved