General :: Reading A HD In Windows?
Jan 26, 2010I have a linux hard drive that I can plug into an external USB interface.. how do i read from this? from windows it only shows it as a unpartitioned drive
View 4 RepliesI have a linux hard drive that I can plug into an external USB interface.. how do i read from this? from windows it only shows it as a unpartitioned drive
View 4 RepliesI am very new to Linux and trying to learn the shell scripting. Just to know is there any client in linux which does the same task as FTPS on windows. FTPS on windows can read series of FTP command from a txt file and execute them. Is there any way to do that same task, i mean reading series of ftp commands from a txt file, on linux suing shell or perl (any module)?
View 2 Replies View RelatedI don't understand the results of a simple performance test I ran using two basic scripts (running on a high end server):
perfVar.zsh :
#!/bin/zsh -f
MYVAR=`cat $1`
for i in {1..10}
[code]...
Performance test result:
> time ./perfVar.zsh BigTextFile > /dev/null
./perfVar.zsh FE > /dev/null 6.86s user 0.32s system 100% cpu 7.177 total
> time ./perfCat.zsh BigTextFile > /dev/null
./perfCat.zsh FE > /dev/null 0.01s user 0.10s system 91% cpu 0.118 total
I would have thought that accessing a VARIABLE was way faster than reading a FILE on the file system... Why this result ?Is there a way to optimize the perfCat.zsh script by reducing the number of accesses to the file system ?
I want to install this file for reading some windows .dat files[URL]...I looked at some code and it looks like its trying to connect to an outside server. This program is supposed to give non-Microsoft e-mail programs the ability to see attachments included in an e-mail message by a Microsoft e-mail composer.
View 3 Replies View RelatedVery strange happenings going on here. Have three computers that dual boot with Ubuntu and WindowsXP. All three have failed in the identical manner!While reading a web site in Windows,the computer screen becomes frozen then a messege flashes momentarily stating "A problem has occurred" then the computer shuts down and will not reboot. Attempting to reboot results in a black screen with an unresponsive cursor in the upper right hand corner of the screen.
View 7 Replies View Relatedi installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...
[Code].....
user@user-laptop:~$ sudo dd if=sd_backup of=/dev/sdd bs=4M conv=noerror,sync
205520896 bytes (206 MB) copied, 28.564 s, 7.2 MB/s
247463936 bytes (247 MB) copied, 57.1285 s, 4.3 MB/s
260046848 bytes (260 MB) copied, 73.2388 s, 3.6 MB/s
289406976 bytes (289 MB) copied, 104.121 s, 2.8 MB/s
[Code]....
How come dd gets slower after copying this 8GB file? What can I do about it?
I have the following bash script:
#do some time consuming task here read -p "Give me some input: " input
Now as you might've guessed, if users press some random keys during the "time consuming task," they're read into input as well. how do I clear stdin (or at least ignore it) before I issue the read command?
I have a laptop with Ubuntu 9.10 installed. It will not boot to the login screen. If I remove this HDD and connect it as a secondary drive to another PC running Ubuntu, will I be able to access the files on this HDD? There is a lot of data which I haven't backed up which I need to retreive. I don't think the hard drive has failed.
View 6 Replies View RelatedI've used Apache for awhile, but my linux isn't all that great.I'm running the lastest Apache 2.x on Debian, I have mod_rewrite and while I was going some basic testing on port 80 the rewrites in my .htaccess worked fine. Then I setup Apache to force all :80 to :433 and now the .htaccess are not being read.I've been messing with the AllowOverrides with no change. I've also confirmed that AccessFileName is set to .htaccess. These are my hosts now:
Code:
<VirtualHost *:80>
ServerAdmin webmaster@example.com
[code]...
is there any API to read content of PDF file & store it in buffer?
View 14 Replies View Relatedbeen playing around making a server to play some games on running centos 5.5
what ive spent a while looking for (a few days) is a way to make a file which i will call startup this will contain some values
Code:
mod_directory="etpub"
port="27960"
log_name="console.log"
vm="0"
dedicated="2"
[Code].....
I have a .bkf backup file, created by the Backup utility that Microsoft provides with Windows XP. Is there a way to read the contents of the file using a non-Microsoft OS, preferably Mac OS X or Linux?
View 1 Replies View RelatedI have a Unix based question. Intro:Trying to create local image which is coded by the cryptsetup tool. Here are my steps:
abcdef# dd if=/dev/zero of=image.img bs=512M count=1 1+0 records in 1+0 records out 536870912 bytes (537 MB) copied,6.39732 s, 83.9 MB/s abcdef# cryptsetup luksFormat image.imgWARNING! ======== This will overwrite data on image.img irrevocably. Are you sure? (Type uppercase yes): YES Cannot read device image.img.
Q:How can I make it work correctly(creating local image with crypting support) or how can I (if its possible of course) to swindle my os?
I've used ext2ifs drivers to mount my ext3 partition in winxp, but I don't have write acces, it's mounted in a read-only mode, and i didn't check the rad-only box during the installation of the drivers.I've used help from the official site http://www.fs-driver.org/and this tutorial http://www.dedoimedo.com/computers/l...s-windows.html
It's a straithfoward proces so I dont understand what I did wrong.I'm using fresh xp install with (more or less) all the updates and ubuntu 10.04Also the partition is mounted at /home, so I dont know if that makes any diferance.
I have a file named file.txt with the following contents
Code:
19 man
24 house
44 dyam
90 random
I want to read the file into array and store each line in each index. I've tried using the following code.
Code:
dataarray=($( < file.txt ))
It stores each word in each index rather than each line in each index.
I am having a laptop with Vista installed on it. I have an Ubuntu live CD (karmic) which is refusing to boot on this machine. I get an error : "Error reading boot CD" and a reboot button. I have tried this cd on other machines and it works fine. I tried live CD of kubuntu also but the same error message appears. What could be the reason?
Machine spec: 2GB RAM, Intel core 2 duo processor.
My requirement is that I wanted a shell script which should read the alert.log(oracle) and should send the alert to my email if any error encountered on daily basis. I have a script which does the same job but at the same time it creates a new alert.log whenever any error occur. But I don't want the new alert log I wanted to read the same alert log daily and if any new error come should alert as email.
View 3 Replies View RelatedI know that cat can output the file, but how do you store that output in a variable to process:
Code:
CONTENT=cat file.txt
This doesn't seem to work?
My son wanted to try Ubuntu , was tired of win7 OS, backed up much wanted links from old OS onto USB drive, could not find files, could not find icon on desktop.
View 2 Replies View RelatedI have an situation where I want to read a file into my script that lie on a remote server. I have ssh-keys set up just don't know how to do this.
View 7 Replies View RelatedI wish to know what could be the possible cases for this error:cp: reading `filename': Input/output errorI am getting this message when I am trying to copy a big file of around 50MB.
View 2 Replies View RelatedWe have G5 PPC with Mac OS 10.xx (panther?). I need files from it, but we don't have the passwords for the machine, and have no disks with which to recover data or reinstall the OS. So, I used an Ubuntu Jaunty Jackalope 9.04 disk and mounted the drives, but when I try and open the target dir, I get permission problems.
View 2 Replies View RelatedI am trying to configure rsh on..but it comes up with a error message error reading information on service -rsh...
when i query rpm -q rsh..It displays rsh package..
I am a bit confused about a dual booting system. I Already have windows 7 on my computer and wish to install ubuntu 11.04 but I keep reading about Grub 2. Does grub automatically install with ubuntu or do I need to install it prior to installing ubutu ?
View 10 Replies View RelatedI am installing Nagios Monitoring tool in RHEL5 and I got stuck at one point. The details are as follows:
Nagios version:3.0.1
At the end of installation when I try to execute the command
#chkconfig --add nagios
Its displaying "error reading information on service nagios : no such file or directory".
I know this command exists I just can't seem to find it. I want to see the last few lines of a file as more are added in real time. Can someone point me in the right direction?
View 2 Replies View RelatedI having Ubuntu 10.04 Lucid Lynx at Dell laptop. i want to read documents written in hindi language. I have a font called Mangla installed in open-office that helps to read these files. But if I open them in gedit or display them by using following command, I cannot open them in readable format:- cat Hindi.txt
[Output] ....
I want this file should also be readable to a executable file of (CMU's toolkit). I have installed several types of fonts such as lohit_hi.ttf. The system does seem to be recognizing this language.
I wish to read the Manufacturer data and other details such as Device ID, Serial number on a USB drive.
1. Could anyone help me out with information on the memory structure of a USB drive? (which location is the mnfr data stored?)
2. Are there are any commands in Linux that will help in reading/accessing this data?
I have a problem when trying mounting, checking my ext3 partition. Is a external HD with my "portable" Linux system. Suddenly started to fail, when I try to boot it, the GRUB can't locate the config file, and show me the command line. I boot from my internal HD and try to mount it and have this messages.
Code:
sd 2:0:0:0: [sdb] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] Unhandled sense code
sd 2:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 2:0:0:0: [sdb] Sense Key : Medium Error [current]
sd 2:0:0:0: [sdb] Add. Sense: Unrecovered read error
[Code]...
1.- What exactly is in this first sectors (ext3 metadata?)
2.- Is there some way to fix this quickly, maybe with some "sectors relocation", Or re-create the first logical sectors.
3.- If not, who could i make a full backup (something like dd copy), of all the partition.
4.- How fix it?, even with a long prosses, i don't know, maybe backup the file structure (with forensic tools) and copy into a new (and re-located) partition. This is my last option because the forensic tools sometime can't recover all files and sometimes only parts, or very old files.