As a recent migrant to Ubuntu from Windows, I was expecting to be able to compare the sizes of two folders or set of folders by Bytes (as in windows). I'm slightly OCD when it comes to my personal files and folders, and I like to maintain identical backups in various pen-drives; as such, I was hoping to be able to track the file sizes of each folder set, but I can only do so in Kilobytes... Is there any application or other means by which to compare sizes in bytes --as is the case in windows?..
I recently had to move to a new machine, everything went well except for one thing. I did fresh installation of LAMP server all with default configs. Every time I'm using PHP script to that invokes include, require or require_once I get the following error:
Code: Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 7680 bytes) in /var/www/index.php on line 2 index.php file: PHP Code: <?php include "index.php";?> icukapi.php file: PHP Code: <?php echo "test";?>
My memory_limit in php.ini is set to 20M. I tried to increase that however it didn't quite work. PHP seems to allocate all possible space and return that message every time i try. If somebody has an idea of how to fix it I would be more than grateful. I spend quite a long time searching for an answer however the all things i found suggested increating memory_limit which in this case doesn't work.
How do fix my Swap Partition? Last night I added unused space to the main Ubuntu partition. Now I noticed the Swap Partition is always at 0 bytes. I'm using a Sony Laptop, and have enclosed two screenshots. One of the Disk Utility and a system monitor.
Every single blank CD i put into my computer show it has 0 bytes of memory and i cannot write things onto them. I dual boot 9.10 and Windows XP, and Windows reads them just fine. Ubuntu will mount the disk as "Blank CD-R Disc, i can access it, and everything works except when i look at the properties it says there are 0 bytes used and 0 bytes free. The drive reads discs with data on them just fine, and they work flawlessly, its just blank discs that dont work. What i need to know is if there some property i need to change or a line i need to put in the terminal to make it read blank discs? Or am i completely screwed?
I have few different usb cards and socets , some of them i have really hotwired.. and i would like to find out where to keep my usb-hdd . few months ago i would use "total commander" it would show .. copying-444Kb/s but these times are over...
I recently cleared out some old partitions, and "/" was getting full so I made it bigger. It went from about 2Gb to 7Gb.
Now when I boot into my OS I get a dialogue saying:
Code: The volume "Filesystem root" has only 0 bytes disk space remaining
You can free up disk space by removing unused programs or files, or by moving files to another disk or partition I don't see how this is possible. If anything it should have more free space than it had before. how I might go about diagnosing this issue?
I was saving a few pictures, and I realized that none of them were actually being saved. I went to my home folder and I noticed that I only had 0 bytes left, then I deleted everything in my trash, got some space back, then it disappeared.
I have just created a usb boot disk so that I can install Fedora 14.I used the following which was successfully. However, I am left wondering what does the bs parameter actually does. I know it mean bytes and copies these at a time. But how do I know what to set it to?dd if=F14-Live-i686.iso of=/dev/sdb bs=8MIn the above example it is set to 8MB. However could I set this to any value that I want?
I need to get usage's bytes of a specific (src/dst)IP adress;can i use this #iptables -L -n -v -x with the other options that get only byte of the specific IP address?
In the past, I have used dd to replace (as well as overwrite) hard drives.
If you do a direct clone of a drive, you are supposed to make sure the target drive is the same size as the source drive.
It is quite important that I am able to clone a failing drive (250GB), however, my only other drive available is a completely new 1TB external hard drive from a different manufacturer.
Is it still possible for me to safely clone the failing drive? If yes, how would I go about doing this? Make a 250GB partition on the 1TB drive?
If I use the TB drive as a "temporary backup", and once I have copied over with dd burn everything directly to DVDs, and then restore the TB drive to it's original state, will this be able to be done?
I'm downloading the iso images for 9.10 Alternate CD. As the desktop does not work, graphical. For whatever reason even once it starts to boot live (With no direct install) it says in the "boot terminal" (non-graphical, full screen) as I call it "Authentication Failure even bEFORE the actual program is loaded. Asks me for username / password which does not exist, etc. I'm sick of windows. I used Ubuntu for about a week and fell in love.
Windows is poppy-cosh, compared to the speed, performance, customization, updates, few errors and bugs, everything is superb! I already converted my fiance and best friend to using the OS in Dual-Boot I'll be an avid supporter and do even more using my media company to help promote xD What's the point? Wine allows me to use all the programs I need that require windows, regardless.. You have converted me. "If you build it, they will come." Amazing job.
I tried re-installing windows and to no-evail for whatever reason screwed up my entire re-installation of Ubuntu. Instead of saying Owner it says Administrator for the new install. Here's my list:
1.) I need to completely wipe out all partitions and start over with a "fresh" HDD. Any ideas how to do so without an OS? It was suggested on wiki answers to use BootDisk.com
2.) I have the torrent downloading which is 689.6MB [URL] and the normal ISO which is 690MB [URL] from two different Ubuntu.com pages...Which do I use? Why are they two different file sizes? I assume the larger file size is the best to use. This has happened when downloading the Desktop CD as well. The lesser file never worked properly. Do you guys have incomplete files on the server or something or perhaps just my hardware?
3.) Use alternate installer to have Ubuntu as the ONLY OS. Alternate Option: Put Ubuntu alternate cd installer onto my external HDD by Seagate and boot up to it, then install ubuntu...
I need a command to list the total sizes for all the directories in a mounted drive.I tried df and du.df list the total size for the mounted drivedu depending on what option I give it either list the total size or list all the sizes for every file on the drive.All I want to know is the sizes of all the directories on the mounted drive.This is a windows vista hard-drive and for some reason ubuntu is reporting a 50 GB partition and only 10GB free, I want to know what's taking up all the free space. I can't find anything in the file browser, so far I've only managed to count up about 10GB of used space so where is the other 30GB.
I am trying to write some code that interfaces with an AVR over a serial port. Basically I send a command then read the output which is 6 bytes. I need to receive all 6 bytes before the program continues. Is there a way to do this? If I use read() it returns -1 unless I add a delay before reading the port. Is there a way to get it to read the 6 bytes as soon as they arrive?In python you simply say how many bytes you want and the max time you are willing to wait which seems a whole lot easier than read
I am wondering if it's possible to log the number of bytes a connection transfered when the connection is complete with iptables. I know I've seen this sort of information in Cisco FWSM logs, where the "Teardown" entry of the logs has the bytes transferred for that connection. Is it possible to have something similar to that with iptables? Where the initial connection attempt is logged (i.e. NEW, which I have logging fine) AND an entry for that connection that includes the bytes transferred?
This question is only partially linux-related, but I accidently typed cp file /dev/sda2 instead of cp file /mnt/sda2. The first 300 bytes or so of the ntfs partition were overwritten and now it can't mount and can't boot. I figured I would try copying the first 4096 bytes from another ntfs partition and see if that gave it enough to at least boot. It didn't and I'm wondering if there's any way to fix this sort of thing easily (without downloading an entire Windows 7 DVD) and what exactly I overwrote that was so important.
The "[SOLVED]" attribute to the How to set defaulter size in RHEL5 thread notwithstanding, the problem really is not solved. I've set my default language to both "C" and to "EN-us" and the problem is that absolutely every single time I print, I have to meander through varying layout print menus to find the "A4" setting and change it to "letter". That, or sacrifice the last two lines on every page because the default size is larger than the actual size. Bad default. It is not unique to Red Hat/CentOS, of course. Same problem exists on Debian and SuSE, too. Why is this such an intractable issue? Why is there not some simple and obvious way to say, "squish all instances of A4 (or "letter") and replace with "letter" (or "A4")!"?
I have a few partitions on my hard-drive, one for Ubuntu, one for Windows 7 and another for general data storage. When I installed Ubuntu, I was presented with a GUI which allowed me to easily reassign storage space from the latter two to create the former. Is there any way to get to something similar, from which I can adjust the proportions of the partition sizes, without affecting their content?
I had to install Ubuntu 10.10 5 times before the boot problem was fixed, but only now to find that the Nvidia GE Force 3 Ti200 video card is NOT supported by the current Nvidia drivers and the legacy Nvidia 96 video drivers has a known bug which may never get fixed.Currently I am running the 1024 x 768 screen size under Nouveau, but how can I change this to 1920x1080 ? Will creating an xorg.conf file work?I did have the GE Force 3 supporting the new 1920x1080p monitors under VGA mode and the screen looked fantastic in the past.
I have an external hdd which is formatted with fat for use by both on linux and windows. The issue is that I can't delete some of the files I have which show up with size 0. Also, the modification timestamp (as detected by Krusader, the file manager I am using) is 1935. How can I delete these kind of files without affecting the running fs?
I'm currently using mogrify -strip image.jpg to remove unwanted bytes from images, it was suggested I could remove further data by using jpegran from libjpeg, something like:
The problem I'm having - if it even is a problem - is that jpegtran doesn't seem to actually do anything that mogrify isn't already doing. In all my testing the filesize just stays the same. If I remove the mogrify part of my code and replace with jpegtran then it seems to perform the same function.
For example:
image without compression: 300k image with mogrify -strip + jpegtran: 272k image with mogrify -strip only: 272k image with jpegtran only: 272k
I was under the impression though that mogrify just removed image profiles/comments and that jpegtran did this as well as losslessly compressing the image to make it smaller. Am I missing something?
For backup purposes, I have been trying to find out a solution for Rsync -avr sourcefolder targetfolder with Skipping 0 bytes files option.
However it seems that they are no solutions. Would someone have an idea, to skip to source files into the sourcefolder that have no content, ie. 0 bytes?
I am created one udp socket. i want to send the data(bytes) to another PC.i need to send 614400 bytes of data. while sending it saying error like" message is too long ". so what is the maximum possible data can i send from a socket?