Ubuntu :: Read Text Files In Windows?
May 25, 2010
A real os should at least e able to read and write plain text, you think? But no, when I try to open my text files (mainly made with gedit) some characters are ass, swedish letters rarely work and ', ", / and so on are not represented as the characters I want to see. Is there a easy, fast way to read (and print!) my text files at school, where they have only windows, without spending half an hour fixing the file by hand?
View 6 Replies
ADVERTISEMENT
Jul 16, 2011
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global]
workgroup = DOMAIN
server string = File Server
[code]...
View 3 Replies
View Related
Jan 24, 2010
I'm needing to read the Adam's Assembly Tutorials, that are old EDIT *.txt files, I'm on Linux and I need to read this files.What can I do?Is there any GUI editor that can read the files?There is any way to convert them into another file that is more modern1?
View 2 Replies
View Related
Sep 15, 2010
im making a program (for the heck of it) that rewrites it code everytime it is run.(my ambition is to turn it into my c++ teacher and watch her be confuzled as to why she cant read my code and why it does weird things) Ive just started c++ programming, and managed to rewrite a program so that when it is run a second time, it says hello world. My problem is that I can only input the file as a single string. What I need to do is to be able to input the entire file into the c++ program, as a single object and then ifstream it out with the destination as the source code.
Also, it would help alot if there was someway to write additional lines to an existing text file instead of overwriting what is already there. That way, every time my c++ runs and rebuilds itself, it adds another couple of lines of code to a txt file and when the final iteration is complete, it loads a text file that was created by the program and uses it to program itself. I heard there is some sort of spawn command, can it be used to open up notepad and write to it? it would be awsome if my various programs could open different notepads with various messages
View 2 Replies
View Related
Oct 9, 2009
I have a script almost working except for 1 thing. What I'm trying to do is read a file that has the files that need to be FTP'd using a bash script. I have everything working except the reading of the file. It works outside of the ftp script I've wrote but once I put it in the FTP script it doesn't.
Here's the Script:
#Here's where the problem is that I know of
I've been playing w/ the exclamation points to see if that could be the problem, but so far no luck.
View 6 Replies
View Related
Jul 22, 2010
AKA "zipping on the fly .. the slow-as-molasses way." The list includes full pathnames to each file, and they're all in subfolders of the same parent folder (which, unfortunately, is not the root folder of the drive or system on which the files reside). A cleaned-up and radio-ready portion of the list looks like
Quote:
.../taiga/ahqr-va-choyvp/bv0884-073.jpg
.../taiga/ahqr-va-choyvp/bv2635-073.jpg
.../taiga/ahqr-va-choyvp/bv3067-175.jpg
[code]....
What I'd like to be able to do is zip all the files in the list into a single archive, to avoid the step of having to copy them to the same location (presumably another folder on the HD) and then zip that folder. I'm more inclined to make provisions about extracting to a single folder at some other time. Is this possible in BASH, or would I have to consider a faster, more robust scripting language such as python or perl?
View 8 Replies
View Related
May 29, 2011
PI'm trying to write a script to list all open ports in the MINIUNPND chain in iptables and use the procotol, port and destination ip to open ports on another router using upnpc.Here is the output of iptables -L MINIUPNPD
Code:
>iptables -L MINIUPNPD
Chain MINIUPNPD (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere 192.168.3.124 tcp dpt:19955
ACCEPT tcp -- anywhere 192.168.3.124 tcp dpt:20054
ACCEPT tcp -- anywhere 192.168.3.130 udp dpt:10654
ACCEPT tcp -- anywhere 192.168.3.121 tcp dpt:29955
code....
No matter what i do i cant seem to remove the first 4 characters from the MYPROT array to leave only the digits. Also i cant seem to read the array back???
I thought it would simply be a loop reading each line and passing the fields in variables, executing upnpc commands i need then moving to the next line of the file until it reached the EOF.
View 12 Replies
View Related
Mar 23, 2010
[Sorry if this is misplaced; I just couldn't think which category to put it under.] So yeah, I'm almost exclusively using karmic (yay!), but I still have to use that vista install I have smushed in a corner of my HD from time to time. Now, I installed karmic using the default, latest file system (ext4, I believe it is, right?). Last I remember hearing, that presents a bit of a problem, doesn't it?
View 5 Replies
View Related
Jun 15, 2011
I had some problems with my hdd, I fixed most of the problems with "testdrive" or "testdisk" (cant remember) but I have some bad sections on my disk right where my important data is. I made a backup with "dd" from a live cd. I have the backup with a reading error or 5 so I guess most data is safe? I have the backup of the whole drive on an other hdd and now I need to get just a few folders out of it. I tried in windows but I can't read it. Poweriso can but not the privet folders like /var/ and that folder I need. I had a password on the account so I guess that is part of the problem? How to read the backup file in windows?
View 4 Replies
View Related
Feb 26, 2010
I'm saving files onto my NTFS partition from Ubuntu (Karmic, dual boot with Vista Home), but, although the files appear to be there, they cannot be read. The error message is 'File not Found. Check the name and try again'. File appears under Windows Explorer and has a file size of 986K.
View 1 Replies
View Related
Oct 18, 2010
I have two txt files containing x and y coordinates: xcoord.txt & ycoord.txt. I need to open them; read them line by line to get each coordinate; then each time I need to update Xs and Ys parameters inside another file called "dc.in" with the grabbed values.
Finally each time I need to run two exe files ( dc_2002 and st_vac) and produce corresponding output for each Xs and Ys ( dc.in is an input file for this exe files)
I have written the following code but it does not work:
View 14 Replies
View Related
Nov 19, 2009
There is explore2fs, but it does not support ext4 filesystem.
View 1 Replies
View Related
Jul 27, 2010
My friend have a pc with only Windows. She does not want to format it for Ubuntu but wants to have a temporal partition (without deleting the original-rented Windows machine) for Ubuntu. How can incorporate the Ubuntu (no demo) without altering beyond her pc?
Second, How can she read files of Ubuntu (documents- ODT File (.odt)) in Windows? How can she print the doc's when the printer only works for Windows?
Third, how can be deleted the Ubuntu from her machine when she be able to return the pc to thye dealer?
View 2 Replies
View Related
Jan 24, 2010
What is a good way to do it? I have been trying to do it using sed.
View 9 Replies
View Related
Mar 26, 2010
I have some text files (Just plain text files, not OpenOffice files or anything) and when I try to open them in Windows they are all one line. I think I read somewhere that Linux uses for new lines whereas Windows uses or something... I am using Kate to edit them, and I have a LOT of files to fix so...
View 9 Replies
View Related
Jan 22, 2010
I have 2 text files : file1.txt and file2.txt
cat file1.txt
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
cat file2.txt
2 this is sentence1file2
6 this is sentence2file2
54 this is sentence3file2
I would like to join these 2 files. The result should look as follows :
cat joinedfile.txt
2 this is sentence1file2
6 this is sentence2file2
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
54 this is sentence3file2
==> so the joined file must be sorted on the first number. Any ideas how this can be achieved ?
View 4 Replies
View Related
Jun 7, 2010
I am running some Pcap files through editcap and then tshark. I am running fedora 11. This will create a couple of thousand text files all numbered sequentially 1-x. How can I copy these files across a network(I connect using putty) or how can I copy them onto an external HD so that when I view them on the windows machine they have the right formatting (Windows know to open them with wordpad/notepad) basically that windows knows that they are text?
View 11 Replies
View Related
Apr 8, 2011
I want to install my favorite player WMP11 in Linux, but the Setup fails in validation! i there a possible to force install wmp11 with wine in linux ? I have a lot of music in WAV + tagged with RIFF Tags, wmp can read riff tags...Amarok can't! is there another player that can read RIFF Tags from WAV files?
View 6 Replies
View Related
Aug 5, 2011
Ubuntu main O/S windows 7 running in Virtualbox how or can i read a usb flash drive in the windows O/S i want to read my mp3 player
View 4 Replies
View Related
Jan 28, 2011
Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?
View 4 Replies
View Related
May 7, 2010
Uploaded a bunch of photos to my Linux machine. (Windows got a bug, didn't want to infect any other windows machine, so I decided to "Scrub" files with Linux.) I'm now attempting to rip these files to dvd to upload onto other computers. Burning to DVD seems to be fine, but windows doesn't read any of the jpg's.
View 1 Replies
View Related
Jun 1, 2010
Can I use sed to include a text file in the beginning of other text files inside a folder and its subfolders? So it should be recursive.
View 4 Replies
View Related
Nov 5, 2009
I would like to write a text user interface (TUI) to adjust some text config files etc. Is there a tool or application for creating TUIs like this. I�m talking about those types of config tools which you see executed at first boot.
View 19 Replies
View Related
Jan 15, 2010
may be an advanced question but I need to know how to do this. Here at work I am in charge of recruiting and we have about 1,000 resumes in already. All of the resumes are in a .pdf format. I need to rename every .pdf in the following format:{firstnameLastname}.pdfThe only way I know how to do this is to convert all the .pdf files to text, extract the name out of the first few lines of text, import into excel, and then use VBA to rename the files in mass:Here is my logic so far:~Deskop/a = houses all the .pdfresumesOpen terminal: Code: cd ~/Desktop/afor f in *.pdf; do pdftotext -raw $f; done That will convert all of the preceding resumes into text filesNow I would like to append the name of the text file into the last line of the text file. So, for example, for Resume1.txt, I want to append "Resume1.txt" to the last line within Resume1.txt. So after I run the command I open Resume1.txt and on the last line within I want to see "Resume1.txt" on the last line, at the end of the resume.How can I do this? I would like to use a loop and have the terminal append the filename to the body of the text file until all of the have been appended.
View 1 Replies
View Related
Apr 21, 2010
Currently, when I'm searching text in files of my PHP project, I use this line :
Code:
grep -r 'myTextToFind' *
But now, I would like to search only in ".lang" files. How can I do that ?
View 7 Replies
View Related
Nov 16, 2010
Is there a way to read the text messages off my Three MiFi (Huawei E585) using Ubuntu?
View 3 Replies
View Related
May 6, 2010
how to read aloud the text in a PDF document?whatPDF readers can be used for text to speech conversion
View 1 Replies
View Related
Feb 4, 2010
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
View 1 Replies
View Related
Jan 29, 2011
I just installed Debian and I find it very difficult to read the text in the GUI windows. I cannot explain it well--which is one of the reason I probably cannot find the answer.But, it looks like some of the text was printed (it these were printed pages) from a printer that is running out of toner. If I switch to the ctrl-alt-F2 terminal then the text is easy to read. I have installed on other partitions Ubuntu and Windows in both of these operating systems everything looks fine
View 14 Replies
View Related
Oct 19, 2010
a project using bluetooth to send data byte by byte to external devices buti'm not familiar using arrays to read file from another location before sending the data.If you could,do correct my codes.Here's my code,
void loop(){
char Msg[]={"Hello"};
char *start;
[code]...
View 2 Replies
View Related