General :: Accidentally Type Concatenate Large File On Remote System
May 6, 2010
Every once in a while on a computer I'm ssh'd into, I will accidentally type "cat largefile.txt" and my screen will start rushing with text for the next 10 minutes. I'm always working in a screen session, so my current solution is to just log out and then log back in, and since it can go 100X faster when I'm logged out, it'll finish in the short time it takes me to type my password in again. Is there a better way? Either involving the fact I'm in a screen session? Or a way to do this within SSH? What doesn't work: detaching from the screen session (doesn't respond until file is done outputting) trying command to move to a different window in the screen session (also doesn't respond) typing ctrl+C to kill cat command (also doesn't respond, probably because the command is done and the buffers just have to catch up).
View 3 Replies
ADVERTISEMENT
Feb 4, 2011
In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5
previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal
After doing(changing the file system)this one ,i couldnt see the d:drive data
By doing that
1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.
2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.
Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)
I had very imp data in d:drive
View 1 Replies
View Related
May 11, 2011
I am supposed to take some small files, and print them to a specific printer, such that the small files are concatenated into one file. The file name has to be included in the file that gets printed.
Should I be looking to concatenate the files into one file with the file names included, and then print them?
something like: -printfunction -printername < file*
View 7 Replies
View Related
Nov 16, 2010
The output of my fdisk command is as follows :-zodiac@gml-admin:~$ sudo fdisk -l[sudo] password for zodiac: Disk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe30ce30c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 4752 22437838 f W95 Ext'd (LBA)
[code]...
View 2 Replies
View Related
Jan 12, 2010
I need commands which five me the following details abt all the file systems mounted the linux box
type
mount pt
file system id
View 4 Replies
View Related
Dec 8, 2010
I had only Arch on an HDD.sda2 was "/".Now it's with Windows XP and sda2 is not a root any more but a container partition wich has sda{5,6,7} in it. I configured the dual boot and it works. It finds Arch and boots it, but not completely. Stops after some time and says: unable to determine the file system type of /dev/sda2. FSTAB is configured, sda{5,6,7} are on their places. So I can't boot Arch. XP boots correctly. What do I do with this error?Also it says: try adding rootfstype=your_filesystem_type to kernel command line.
View 4 Replies
View Related
Nov 18, 2010
after i made the change to my shell type, that from SH to TCH, and back again, i lost my coloring for my file system, if you know what i mean, folders always come in blue, and devices in yellow hope you understand? now everything i do can't seem to differentiated between files colors anymore.
View 7 Replies
View Related
Sep 7, 2009
How well is the ext4 new file system mounting compatibility with the older ext3 previous Linux installations ? I refer to Ubuntu 9.04 and the new Fedora 11 which have the option to install with the ext4 file format. Will it be better if I install with the older ext3, so that I will be able to mount all other Linux from each other in a multi-boot system ?
View 6 Replies
View Related
May 24, 2011
I am copying the file form one directory to another directory using shellscript.
Here i want to get the Mimetype/Content-type of the file.
How to i can get the MimeType.
View 9 Replies
View Related
Feb 3, 2011
We have 2 servers, 1 is the webserver and the other is the Mysql server.
When transfering a 2GB file from the webserver to the Mysql server.
The webserver's connection to the mysql DB server dies completely.
Need to restart the MYSQL process in order for it to come back online.
During this connection downtime, when using phpmyadmin on the mysql server shows no problem running queries etc.
View 2 Replies
View Related
Sep 19, 2010
Is there a file system that both Mac OSX 10.5 and linux can read/write for large files (like 4gb files)? My desktop is Ubuntu and I run most from there, but I want to back up my MacBook and linux box on the same external hard drive. Seems there are some (paid) apps for Mac that will mount NTFS but I'm wondering if there is just a shared files ystem that will work for both.
View 9 Replies
View Related
Apr 6, 2011
I have created a new file system (fuse) which works fine and is mounted in the local host. I want to be able to mount it from another host. I added it to /ect/exports: /mnt/ltfs *(rw,sync) And restarted nfs. Then from my client host I type:
mount -t nfs myHostName:/mnt/ltfs /mnt/data1
Where /mnt/ltfs is on my local host and /mnt/data1 is on the client host. Note that this is a "FUSE" file system so here is it's local "mount" output: ltfs on /mnt/ltfs type fuse (rw,nosuid,nodev,default_permissions,allow_other) Note thet this is of type "ltfs" but I am told that it should work like its a nfs. ltfs uses fuse under the covers.
View 1 Replies
View Related
Jun 15, 2010
I am having a bit of a problem with my Ubuntu Server 10.04 install. I think it might be a kernel problem. Basically, what happens is when I copy a large file (a 160GB disk image) to my drive (>60GB) the system consistently crashes after about 60GB of the file is transferred. It doesn't matter if I am sending the file using cifs, or over SSH. Checking syslog (paste dump here), it seems these flush errors always appear shortly before the crash occurs. The destination filesystem is a hardware RAID 10 array with 2TB of space. It is formatted as EXT4.
View 7 Replies
View Related
Aug 7, 2010
I am ssh'ing into a remote server and then su'ing to root.The problem is that sometimes, I have not paid enough attention to the console message, and I have accidentally typed in the root password at the command prompt (when for example, I had failed to provide the root password correctly the first time - so su prompt went away).
I remember reading somewhere that a history of commands typed at the console is kept somewhere.I have 3 sub questions
Where (which folder) is the file stored?
Can I edit that file and remove the root password from it?
Being the paranoid person that I am, I wonder if there is a more secure way of logging into my server - other than ssh (or am I being TOO paranoid?)
My server is running a headless Ubuntu 10.0.4
View 1 Replies
View Related
May 2, 2011
I know that ImageMagick's convert program can be used as follows to convert a collection of images -- say, in PNG format -- to a PDF file:
convert *png output.pdf
The problem with this is that each image is then stretched to fit on one page, whereas I would like to keep the original dimensions of the images and put as many as possible on one page in the PDF file before moving on to another page.
View 1 Replies
View Related
Nov 26, 2010
I am trying to convert a mdf file to iso with mdf2iso and this message pops up "Value too large for defined data type". The file is about 4.6 GB. Any other information
View 2 Replies
View Related
Apr 13, 2009
I've downloaded a big file from another server via "wget" to my /backup/ directory, and after the download was compeded I did run "ls" and the error was:ls: full_plesk_backup: Value too large for defined data type.
View 13 Replies
View Related
Mar 4, 2009
I have a motorola bmc 9012 dvr and am attempting to connect an external hard drive to it via usb. when i plug in the external hd the dvr recognizes it and wants to format the hd. i let it format the hd but now i can not view the hd from my windows machine. anyone have an idea of what type of file system the dvr formatted the hd with?
View 4 Replies
View Related
Feb 18, 2010
When I run 'parted' and then type 'print' to see the partitions that are available, I see two entries: /dev/sda1 and /dev/sda2. /dev/sda1 is of ext3 type whereas for /dev/sda2 nothing is specified for file system type. The LVM flags are set for /dev/sda2.
When I tried to resize /dev/sda2, it gives me the error "File system type not recognized". let me know how to find out the file system type of the partition.
View 3 Replies
View Related
May 5, 2010
i have text file that filename contain the date of creation (i.e 2010.05.02.log).I would like to create a script that:-Ask for start date -Ask for end date- Concatenate all file on the requested period by date order.
View 1 Replies
View Related
Jul 2, 2010
I have accidentally removed my apache2 startup file /etc/init.d/apache2 using rm /etc/init.d/apache2 command.
How can I get that back?
View 5 Replies
View Related
May 23, 2010
I use Markdown to store all of my source documents. Unfortunately, the .md extension maps to application/x-genesis-rom under Ubuntu. I'm not sure why that would be a system default MIME type, but I'd like to change it.
I've tried using:
Code:
gksu assogiate
to modify my file type cache. Unfortunately, even as the SU, I can't modify the entry for this file type. The "Remove" button is inactivated for the entry. (See attachment.)
How can I get rid of this (obsolete?) file association? Alternatively, how can I make my new one (text/x-markdown) take precedence?
View 5 Replies
View Related
May 12, 2010
I am using RHEL 5.I have a very large test file which cannot be opened in vi.The content of the file has some 8000 lines.I need to view ten lines between 5680 to 5690.How can i view these particular lines in a large file.what is command and option i need to use.
View 1 Replies
View Related
Jan 14, 2011
How do I go about mounting a device if I don't know the file system type (e.g ext3, NTFS)?
View 4 Replies
View Related
Oct 10, 2010
I grabbed the new lubuntu 10.10 from [URL] but it turns out I'm having a problem installing it on my netbook (Asus Eee PC 1015PED). While installing, this error pops up:
Quote:
The attempt to mount a file system with type ext4 in SCSI2 (0,0,0), partition #1 (sda) at / failed.You may resume partitioning from the partitioning menu.I'm installing via USB and have selected the option to erase everything and use the full HDD.
Edit: I had Xubuntu installed before.
View 2 Replies
View Related
Jul 9, 2010
Title sums up my problem. Im running so many processes in Slackware, running KDE. I dont even run that many programs, and already its more than XP has (by a **** load). What is wrong here, and how do i kill a lot of the processes to cut down on my cpu usage by tons and cut down memory usage while still keeping everything the same?
Heres a picture of my system monitor - img651 DOT imageshack DOT us/img651/5994/systemmonitorz.png
I didnt put image tags because its a fullscreen.
The memory rises over time, when I restarted my computer it was up to 500 - 600 mbps. At the minute after its at 360.
View 4 Replies
View Related
Aug 24, 2011
I want to transfer a huge file (60GB) over the NFS network on linux. Is cp the best option?
View 1 Replies
View Related
Mar 26, 2010
I'm trying to copy a 6Gb file across from my laptop to an external usb drive but it quits at about 4.2Gb every time with a "file size limit exceeded" error. i have checked the output of ulimit -a and there is no limit there on the file size. I'm using the Slax live Cd for this as it always gets the job done
View 8 Replies
View Related
Oct 15, 2010
Unable to install Ubuntu 9.10 on a new internal harddrive. The hardrive contains no operating system. This hardrive is the only drive present in the system.
Whenever the installation trys to mount the ext4 partition the following error appears: The attempt to mount a file system with type ext4 in SCSI1 (0,0,0), partition #1 (sda) at /failed
Iv'e tried over and over to get past this error to no avail.
View 6 Replies
View Related
Aug 28, 2011
I need to send large files from a Linux machine to another using cryptography. The sender machine knows the recipient IP but not vice-versa. I don't need strong cryptography and prefer higher-speed less-secure solutions.
There are no problems with presharing crypto keys but I'd prefer not dealing with SSH users creation.
I think to HTTP PUT over TLS, but I never had experience with it and I prefer to hear which are the possible solutions. I know that it can listen as a daemon but I don't know anything about cryptography. So pipeing with OpenSSL may be a solution.
View 2 Replies
View Related