OpenSUSE :: Check What Is Inside The File?

Jul 29, 2011

I have a custom file, that is created by a X (not known) program. I would like to "try" to read one of the files it creates. Of course one way is to try to open it from c or java and try to see what is inside the file. For that I have to do a few retries with different data types.

Thus I was thinking if there is any program, that can facilitate this checking by reading the file with all the different ways fast.

View 9 Replies


ADVERTISEMENT

OpenSUSE :: MD5 Hashcheck - Check And Verify Downloaded File

Aug 5, 2010

Is there a program available which will check and verify a downloaded file. Ubuntu has gtkhash and Mandriva uses Parano. I know how to Md5 using the command line, but gui software would be a bonus.

View 4 Replies View Related

Fedora :: Files Corrupts - Upload A File (using Ftp Or Sftp) Some Weir Characters Are Included Inside The File

Mar 23, 2010

I just installed Fedora12 in a Core i3 machine... everything looks fine, but I have a huge problem... every time I upload a file (using ftp or sftp) some wier characters are included inside the file... for example.

[Code]......

View 6 Replies View Related

Ubuntu :: Edit File Inside It, Open It, Edit A File, Then Remake The Bin File?

Mar 3, 2011

I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?

View 7 Replies View Related

Programming :: How To Read File Inside AWK?

Apr 13, 2011

I want to read content of a file inside a gawk script.I know that by using "gawk -f filename" I can read a file, but I want to do that inside the script.

View 7 Replies View Related

OpenSUSE Install :: Swap Partition : Need To Check Swap File System?

Mar 20, 2011

Does one need to Check the Swap filesystem, from time to time

View 4 Replies View Related

General :: Copy A File Without Using Scp Inside An Ssh Session?

Jun 1, 2011

I have logged on to a system with ssh and there is no scp present on both the systems. How to copy a file without using the scp program.

View 3 Replies View Related

General :: How To Find A File With Specific String Inside It

May 7, 2010

Is there any way i can find a file with specific word inside it.For example if i want to find a file which has some text written inside it.How would i form a command to search them?

View 5 Replies View Related

Software :: Change The Value Of Positional Parameters Inside A File?

Mar 26, 2010

I was wondering if there is a way to change the value of positional parameters inside a file.I mean, i want to change the value of a certain field of a file to the one i provide with?

View 6 Replies View Related

Programming :: Bash Script And Grep Inside File?

Apr 2, 2010

What I'm trying to do is grep [mysqld] from inside my.cnf and then add lines inside the file should they not be there. how do i do that?

View 3 Replies View Related

Ubuntu :: Create File Inside Htdocs XAMPP Directory

Sep 10, 2010

i'm a new Ubuntu user and starting with programming, i've already installed XAMPP for LINUX at /opt directory and the Eclipse app to code php, java etc.When I try to write or create a file inside htdocs XAMPP directory the Eclipse outputs this message to me:"Parent of resource: /opt/lampp/htdocs/site/includes/include.php is marked as read-only./ opt/ lampp/ htdocs/site/includes/include.php (Permission denied)"Whats the matter with this possible error?

View 7 Replies View Related

Ubuntu :: Can't Write To Directories Inside My Main File System / Change It?

Apr 23, 2010

I can't write to directories inside my main file system. This is annoying, how to change?

View 3 Replies View Related

Ubuntu :: File Access Inside Natty/XP: Home Dual Boot

May 18, 2011

Howdy, I just installed a dual boot on my Acer Aspire One and it runs great. I was wondering is there anyway to access the files from either side? If so I can't see the XP file system from the Ubuntu system.

View 9 Replies View Related

General :: Using The Expect And Send To Execute List Of Commands Inside A File?

Feb 2, 2011

i am working on some kind of PBX and i have list of telephone numbers inside a file, i have to insert these numbers into the correct command and then telnet to a remote server and execute these commands. i can read the telephone numbers and insert them into the command with no problem, but when i try to insert these commands into the send i face problem. here is the basic code

#!/bin/bash
read msisdn < input
string="ZZZZ:MSISDN=$msisdn;"

[code]....

i can make external loop inside the Bash which read the input file and issue the command and then telnet and execute, but this will make the script connects and disconnects again for each line which cause high load on that server and hardwar problem. i am wondering if there is an option inside the expect interperter which makes the send read directly from a file... somthing like this:

expect "<"
send "input-filename
"
expect "<"
expect eof

View 1 Replies View Related

General :: Redirect Output Of A Command To Another File Inside Shell Script?

Aug 26, 2010

I am writing a script in which I am using AWK to append to a line in a file and save the file. The command I am using is:

Code:
awk '{s=$0; if ( NR==4 ){s=s ":/usr/java/jdk1.6.0_19/bin" } print s;}' $appName > $appName.new

[code]...

View 4 Replies View Related

General :: Script To Traverse Into Sub-directory And Replace Line Of File Inside Zip?

Aug 27, 2010

I can't get sed to actually change the file, clearly there's something basic not working, can anyone point me in the right direction? I know nothing about scripting. Oh yeah, all the directories have spaces which was why so elaborated.

find . -name "*epub" | while read file; do unzip -o "$file" content.opf && mv content.opf content.opf.bak && sed 's/<dc:language>UND</dc:language>/<dc:language xsi:type="dcterms:RFC4646">EN</dc:language>/' < content.opf.bak > content.opf && zip "$file" content.opf && rm -f content.* ; done

View 2 Replies View Related

General :: Count The Number Of Lines Inside A File And Put The Output Into A Variable?

Feb 1, 2011

i need to count the number of files and put the output into a variable. i used wc -l filename but i couldnt find an option to put the output to variable. example if the number o line is 5, i need the output of echo $x is 5.

View 3 Replies View Related

General :: File Privileges - Check And Set Who Can View Or Open A Given Folder Or File?

Jul 30, 2010

How can I check and set who can view or open a given folder or file?

View 1 Replies View Related

General :: Moved File Partitions - File System Check Failed On Fedora, Windows Will Not Boot

Dec 16, 2009

my partitioning layout was as follows

Vista Recovery
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)

so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner.

View 7 Replies View Related

Software :: Check The Contents Of A Text File For A Specific String And Remove It From The File From The Command Prompt?

Oct 14, 2010

I want to be able to check the contents of a text file for a specific string and remove it from the file from the command prompt. I would basically be searching through a number of files and if a specific string is found I would like it removed automatically. pretty much a find and replace, were the replace is nothing. any one got any ideas on how you would do this. I already have the search part sorted just need to be able to remove the string I don't want from the multiple files.

View 4 Replies View Related

Red Hat / Fedora :: Edit /etc/sysconfig/iptables And Create/delete Rules Inside That File?

Sep 9, 2010

can i actually edit /etc/sysconfig/iptables and create/delete rules inside that file?will it work? i just find using the IPTABLES -A or -D command a hassle

View 3 Replies View Related

Ubuntu :: Searching WITHIN Doc - Xls - Ppt Files - Grep Is Unable To Locate Text INSIDE File Types

Sep 1, 2011

I am on Ubuntu 11.04 and using Libre Office 3.3.2 to compose new documents and am saving them using .doc, .ppt and .xls files. (due to having to share them with others who are on Windows systems)

I have a lot of doc files and I need to search for text INSIDE these files. I am perplexed with the fact that no search tool is able to search for text INSIDE these file types. "cat" can display them of course, but grep is not able to locate text INSIDE these file types. I even tried to save a .doc file as an .odt file, but no luck. The Applications>Accessories>Search for Files does not search INSIDE doc, xls or ppt with the option "Contains the text".

View 6 Replies View Related

OpenSUSE Network :: Using Manager App Inside Tomcat On A 11.3?

Jul 26, 2010

I'm trying to use Manager App inside Tomcat on a 11.3 fresh install without success. Packages installed:

# zypper se -i tomcat
Loading repository data...
Reading installed packages...

[code]....

View 9 Replies View Related

Ubuntu :: Check For That) Then Add The Name Of That File To A Text File?

May 5, 2010

i am writing a script for my ubuntu server and basically i want it to download a file that i specifically type in then take that file put it in a certain folder (note file may or may not be archived so i'd have to check for that) then add the name of that file to a text file.i know sounds strange but this is what i got so far:

Code:
#!/bin/bash
echo "-----Star of Script-----"
echo "Please enter URL:"
read URL
cd testdir
wget $URL
//extraction here + delete original archive (rar,zip,anything :S)
echo name_of_file >> list.txt
echo "-----End of Script-----"

View 6 Replies View Related

Programming :: Check If File Contents In Another File?

Nov 4, 2009

i am trying to write a bash script. i have a text file called comp2.tmp which has a list of items in it

example comp2.tmp

Code:

filename.pdf
filename2.zip
filename3.ttf
and so on

I have another text file called comp1.tmp which should have the same list of files in it, but does not look as pretty

example comp1.tmp

Code:
someothertext here ...... 10/30/2009 ...... filename.pdf
=========================------------------==============
othertextagain .......... 09/28/2008 ...... filename2.zip
========================------------------===============
bunchmoretext ........... 04/12/2005 ....... filename3.ttf
and so on

i would like to check if the filenames listed in comp2.tmp exists in comp1.tmp

View 3 Replies View Related

OpenSUSE :: Find An Update To Firefox 3.5 Waiting For Inside YaST?

Apr 14, 2010

I'm staying with 11.1 (sic) because it works well enough, so what a pleasant surprise to find an update to Firefox 3.5 waiting for me inside YaST, I'd have expected only updates to 3.0.

View 1 Replies View Related

OpenSUSE :: How To Restore Data Inside Trash After Make It Empty

Apr 25, 2011

How can I restore the data inside the trash after make it empty ?I need to restore an important folder from the trash and I can't find it there.I am using openSUSE11.1 (KDE)

View 8 Replies View Related

OpenSUSE Hardware :: Unable To Browse The Files Inside Mobile?

May 23, 2011

I'm using a Samsung mobile to connect internet.in Ubuntu i can browse the files inside the mobile and can be connect to internet at the same time.in opensuse both gnome and kde my device is detected but i can only connect to internet using it.i can't browse the mobile files

View 6 Replies View Related

OpenSUSE Install :: Getting The Source For /init Inside The Installer's Initrd?

Mar 21, 2011

In short. I've cracked open the initrd file of the openSuSE installer to have a look - I've determined it's an initramfs which by default would execute ''/init''GREAT! But not so much... init should find the installation files et cetera - but I haven't a clue how it does this because it's a compiled binary So, my question is this - do anyone know where I can find the source for this file ?

If not, who should I contact to find it? I really, really need to look at it.. I'm trying to throw the installer over to a USB harddrive (with multiple other installers, each in their own directory etc. etc.) - the idea is to create a USB HDD with installation mediums for the OS's I use so the recommended methods of dedicating a partition to openSuSE is not going to work...

View 3 Replies View Related

OpenSUSE :: Change The Resolution Of The OS Running Inside Virtual Machine Manager?

Jun 7, 2011

I am running Windows 7 inside Virtual Machine Manager - running on Cent OS 5.6. My problem is that the Windows 7 'Window', is only about half the size of the screen. Is there any to change the resolution of the OS running inside Virtual Machine Manager?

View 6 Replies View Related







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