0
votes
0answers
27 views

What do the number in the file metadata mean [duplicate]

I typed ls -l in the terminal to get the file metadata of all files in the current folder What do the circled number : 1 & 2 represent in regard to the file metadata ???
0
votes
0answers
41 views

Big file overwriten with a 0B file

I just opend for write (by mistake) a big file with data (about 200 MB). Now I have this file and it has 0B. I want to know If I can find raw data on disk for recovery... ?
2
votes
1answer
134 views

Temporary files problem

Recently my server started to behave weird and I have two issues which I believe to be related. In Vi : When I try to save a file I get : E509: Cannot create backup file and I need to save ...
2
votes
2answers
144 views

How to know file system of any medium like hard disk, CD/DVD, flash drive? [duplicate]

Is there any command or any way to know what file system is there on a medium like hard disk or CD/DVD or flash drive etc. From GUI gparted one can know the type on hard disks/pen drive but not of ...
3
votes
2answers
103 views

How to fake a filesystem that cannot be mounted by others

I'm currently working on a project. There's an Ubuntu Linux system installed on a disk, DA, mounting the other disk, DB. What it requires is that DB can be only mounted by DA in order to prevent data ...
0
votes
1answer
799 views

How to install squashfs-tools on Ubuntu?

I tried running `unsquashfs and got: $ unsquashfs filesystem.squashfs The program 'unsquashfs' is currently not installed, You can install it by typing: So I went to install it: $ sudo apt-get ...
0
votes
0answers
18 views

UBUNTU + extract filesystem.squashfs for editing [duplicate]

please advice how to install the squashfs-tools on UBUNTU linux ? I try this unsquashfs filesystem.squashfs The program 'unsquashfs' is currently not installed, You can install it by typing: ...
3
votes
3answers
1k views

How can I change the date modified of a folder to the last changed file inside? [duplicate]

In my media center directory all modified times of my folders are somehow not the desired date. How can I change all modified times of the main folders to the modified time of the newest media-file ...
0
votes
0answers
81 views

System cannot load Ubuntu based OS's

I built a computer a few months ago, specs listed here. I then installed Linux Mint 13, but then when I wanted to install Ubuntu, the install would start, and I would select "Install". But when it ...
2
votes
2answers
270 views

Can I recover from a system disk error on Ubuntu Linux?

I got a strange looking warning message in Windows Vista about a potential hard disk failure. I say strange because I have never in my life seen that type of warning in Windows. It suggested that I ...
3
votes
1answer
97 views

Ubuntu filesystem buffers/cache always empty

I have a virtual server with ubuntu 10.04.4 LTS and plesk (preinstalled by hosting company). Now i have seen that the buffers/cache are always empty. Current uptime is 22 days. free and htop shows the ...
20
votes
4answers
3k views

What doesn't need defragmentation? Linux or the ext2 ext3 FS?

Why don't you have to defrag a Linux system? Because it's using the ext2/ext3 file system or because it's Linux? That's relevant, because a have a double boot system (W7 / Ubuntu) and a common ...
0
votes
4answers
946 views

Optimal Setup for Windows & Linux - Sharing and Partitioning

This question gets a little complicated so please bear with me. So we have a new custom designed desktop which we will be mostly a dedicated machine for scientific computations in FORTRAN and ...
1
vote
1answer
551 views

How to find the type of an img file so it can be mounted

I have a .img file and I want to see what's inside of it. I tried mounting it, but I don't know what filesystem type it is. Is there a way to detect what it is so I can mount it? I'm using Ubuntu. ...
6
votes
2answers
179 views

du command show a slash after directories?

How to use du command show a slash after directories? For example: du -ab /root/test/php-5.4.8/ Result: 1781 /root/test/php-5.4.8/main/internal_functions.c.in 973596 ...
7
votes
2answers
141 views

Removed apt-get from Ubuntu

Well my fingers did manage to do sudo apt-get remove libstdc++6 and write, yes. That removed alot of system files. Is there any way to bring it up working again? I have connected to terminal, and wget ...
2
votes
0answers
329 views

Can /mnt/hgfs/'shared folder' be used as apache root?

I have an Ubuntu Server (12.04) running on my development machine. It is in a VM. I have succeeded with the task of setting up Apache2, MySQL, and PHP. I can access the server from my host browser ...
0
votes
2answers
1k views

How can I rename all files in the current directory having a particular extension to another extension? [duplicate]

Possible Duplicate: Renaming multiple files (changing extension) Suppose that in my current/working directory I have five files: file1.xvg file2.xvg file3.xvg file1.eps file2.eps Is ...
3
votes
1answer
1k views

inode limitation on a 500GB hard disk? Can you explain please?

I am launching a social networking website on LAMP Stack on Linux Ubuntu, I know that people are going to upload lots of pictures. Let's say I have 5000 users and each user upload a minimum of 100 ...
9
votes
5answers
8k views

XFS vs Ext4 vs Others - which file system is stable, reliable, for long run such as 24/7 case

XFS and Ext4 file system which one is really stable and reliable for long run with heavy disk write and read? the system will be used in a place where 24/7 is in service, and every second there is ...
2
votes
2answers
253 views

Simultaneously move long list files to new location

I'm using a wonderful program called ExifTool to recursively rename a large batch of files. Here is example usage: $ exiftool -r -ext JPG '-FileName<CreateDate' -d %Y%m%d_%H%M%S.jpg . Error: ...
4
votes
1answer
1k views

The volume “boot” has only 0 byte disk space remaining

I am in Ubuntu 10.04. When I install the software updates with "Update Manager", there is a pop up dialog which tells me "The volume "boot" has only 0 byte disk space remaining" How to get rid of ...
1
vote
0answers
1k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
8
votes
3answers
4k views

Mount a filesystem read-only, and redirect writes to RAM?

Is it possible to mount a loopback file as read-only, and redirect all writes to RAM?
1
vote
1answer
705 views

Switching runlevel when moving /var to another partition

I'm running Ubuntu 10.04 and I would like to move /var to another partition using a python script. I found some directions that I thought were pretty good, but they call for switching to runlevel 1 ...
2
votes
1answer
613 views

Running a command when a CD/DVD/BD inserted

This seems like a simple question to me, but after two nights of searching and tinkering, I haven't been able to find anything promising. I am running a headless Ubuntu server. I want to be able to ...
1
vote
2answers
243 views

Copying linux install from non-RAID/x86 to RAID/x86-64

I'm copying an Ubuntu Server install from an x86 machine with a single hard disk to a new machine with x64 and two identical disks. Two partitions will span the new disks: One small-ish RAID1 for ...
1
vote
3answers
658 views

Safest HardDrive Format for Archiving/Media Storage Data?

What is the safest hard drive format (NTFS, HFS+, XFS, ZFS, ...) for archiving or/and storing media (data)? I'd prefer to have the data not corrupt and be relatively safe (From corruption, ...) and ...
4
votes
3answers
3k views

How do I open a .bak file on Linux?

I have received a file of .bak format, let it be foo.bak. I don't know if it is a MS-DOS file or Linux/Unix file. What I know is that I can't open it because my Linux (Ubuntu) does not give any hint ...
3
votes
3answers
2k views

Adding an unused partition to a linux filesystem

I am running kubuntu 11.04. I installed it in a dual-boot scenario on a single drive, with Windows XP installed first. The XP installation is fubar so I now would like to use the space in kubuntu. I ...
13
votes
3answers
1k views

How can I de-fragment a drive using Ubuntu?

Is it necessary to defrag drives in Ubuntu? If so, how do I do it and how often should it be done?
4
votes
2answers
376 views

How to synchronize a networked drive and an external drive (Ubuntu & OS X)?

In light of a recent hardware failure, I've decided that it's time to be a little less lax regarding back-ups. What I have: An Ubuntu 10.10 'server/NAS' A MacBook 5,2 A WD external HDD The server ...