The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
42 views

Error “parted: invalid token: 1” When Using Parted To Format A Partition?

Screenshot: http://imgur.com/DQnhwG2    I'm trying to format an existing ext2 partition as ntfs (or any filesystem) using the mkfs command in Parted, but when I specify the partition to ...
0
votes
1answer
81 views

Preparing USB drive for Kali Linux

I'm new to Kali Linux. I want to install it on my PC which is already running windows 8. I know how to dual boot a PC. I'll be booting Linux from a USB device, but while creating a bootable USB ...
1
vote
2answers
119 views

Unable to use date command to change specific date format in Bash shell on OS X terminal

I am using the date -d command to change a specific date format to another. Below is the example used currDate=`Wed 12 Feb 2014` formattedDate=`date -d"${currDate}" +%Y%m%d` echo $formattedDate
0
votes
1answer
57 views

How to format a CF card by a terminal command?

I want to know the command for formatting a compact flash card from the terminal.
4
votes
3answers
58 views

Man page with preserved text decorations, proportional text and fixed-width code

How can I get contents of a man page without the text being wrapped around column 80 or so? I'd prefer the output to have proper formatting, line bolding, underscores, fixed-width font for examples ...
0
votes
0answers
33 views

Unable to write to hdd formatted in anything other ext2,3,4

I am unable to write to my HDD mounted on Ubuntu server 12.04 that are formatted to NTFS or FAT32. However when I format to EXT and Mount as auto its able to write. I tried chmod and chown but the ...
1
vote
1answer
75 views

Problem with formating Flash Disk

I have intsalled Arch Linux ISO file into Flash disk through following command : dd bs=2M if=~/archlinux-2013.11.01-dual.iso of=/dev/sdd Now, I'm trying to format flash disk with following command ...
2
votes
1answer
226 views

Best options for mounting Mac OS X hard drive on my Linux box?

I have a new 3 terabyte external USB hard drive (Seagate ST3000DM001 in an enclosure). I hope to use it on both my iMac (OS X 10.6.8) and my Linux machines (Kubuntu). Right now this drive will ...
2
votes
2answers
42 views

How do I echo a line with linebreak at the end at window border? [duplicate]

I would like to echo a list all in one line, TAB separated (like ls does with files in one folder) for i in one two some_are_very_long_stuff b c; do echo $i; done will print one line per word: one ...
0
votes
2answers
102 views

any command that can format html or xml from shell? [closed]

There must be something on the lines of sed? Normally in sed you type something like: echo day | sed s/day/night/ the shell prints "night". Is there something that can take a file (containing ...
6
votes
2answers
259 views

Creating formatted partition from nothing

I need to create filesystem with just one partition from nothing (/dev/zero). I tried this sequence of commands: dd if=/dev/zero of=mountedImage.img bs=512 count=131072 fdisk mountedImage.img n ...
3
votes
1answer
89 views

How do I make Kate indent with spaces on Python files but use tabs for text files and other files?

My goal is to set Kate up to work properly on Python files but to use different settings (tabs not spaces) on other documents. I'm sure others are doing this, but I can't figure out a convenient ...
1
vote
1answer
63 views

Is it safe to reformat an lvm root partition?

My system currently has a volume group containing root, swap, and home logical volumes. I would like to reinstall the operating system in the root volume and format the partition in the process. I ...
4
votes
1answer
738 views

Removing leading zeros from DATE

I made an alias of the date command to display date in the following format: 2013.06.14.12.10.02 using this command: alias date = date +"%Y.%m.%d.%H.%M.%S" Everything works great, except i ...
1
vote
0answers
45 views

Reformat terminal output and save to file

I was wondering how to reformat terminal output for logging information. More specifically I would like to reformat the output of the sensors command from the lm-sensors package and write it to a ...
0
votes
1answer
496 views

Format drive and all partitions, start from scratch on chromebook

I have a chromebook which ... someone ... may have messed up some partitions using fdisk while ubuntu was installed. Now, after doing a recovery re-install for chromeOS I'm unable to install ubuntu ...
4
votes
3answers
2k views

How can I display octal notation of permissions with ls - and can octal represent all permissions? [duplicate]

After looking at the man page for ls on my system and searching Google, I see there IS a hack of way to use awk or perl to show octal permissions when using ls, but with bash is there anything more ...
0
votes
1answer
1k views

How to format large Size HDD quickly

In windows we can do a Quick format just by right clicking the device and boom format. In linux How to do the same I mean if the size of HDD is 2TB or more it takes along time to format using ...
1
vote
0answers
258 views

Quick USB pendrive formatting under KDE

Is there some way to quickly format a USB pendrive in KDE (with a GUI interface), without having to open the main "KDE Partition Manager"? In particular I'm most interested in something like a ...
3
votes
1answer
437 views

Trying to install Windows on a system that has Ubuntu 12.04 installed

I'm a novice in installing & debugging OS errors. I had Windows 7 installed & it crashed today (the great blue screen). No matter what I did (tried to install Windows 7 again & again from ...
2
votes
1answer
8k views

How to format USB drive in Linux Mint 14 with GUI? [duplicate]

I'm new to Linux Mint and I've just installed Linux Mint 14. Now I need to format my USB drive, but I'm not getting any option to do that. Please suggest me anyone, how can I do that with a GUI?
0
votes
0answers
194 views

Cant install Linux Mint over Ubuntu , Help…migrating from Windows 7…first time Linux

I have Ubuntu 12.10 installed on HDD. Over the last 2 days I have been using Linux Mint on LiveCD and decided that that is what I want. When I partition the hdd should it be in fat32? fat16? or one ...
2
votes
1answer
2k views

How to Format an LVM partition

I need to format a partition. But I have one LVM on my machine (VirtualBox) that is composed of two different two partitions of two Virtual HDD's (sdb5 and sdc5) fdisk output df output
2
votes
2answers
311 views

Can't format external drive

I am trying to format an external drive, but getting the error /dev/sdb1 is apparently in use by the system; will not make a filesystem here! Based on the internet, I have to run cat ...
0
votes
2answers
280 views

How to format Partition

How can I format the following partition on Redhat 5.2? /dev/mapper/VG00-LogVol 148G 111G 36G 76% /u001/app/oracle
0
votes
1answer
643 views

Where to find printf formatting reference?

Where is the offline reference of the format specifiers (e.g., %i, %s) which are supported by the Bash/system printf command? I've looked in help printf, man 1 printf and man 3 printf without luck. ...
0
votes
1answer
269 views

Output png as binary [closed]

Title says it all. I'm on a unix machine, can't figure it out. Sublime Text 2 opens the PNG as Hex and TextMate as ASCII. I need binary. How can I do it?
3
votes
2answers
951 views

Format disk through rootfs terminal

I've got into a strange situation (because of my own stupidity of course:-)). I kept failing to install Chakra Linux from Live USB, so I was thinking that the reason could be that I created the Live ...
4
votes
2answers
4k views

Format external hard drive to linux compatible file system

How do I format my external hard drive to a very Linux compatible file system? I am using L-Ubuntu 11.04.
3
votes
3answers
550 views

Prevent watch breaking colors

I'm altering scripts at work that monitor log files to single out certain items and colorize them. The final output is a list of 6-digit numbers in several columns. I've been able to add a ~ to the ...
1
vote
0answers
134 views

To which audio format can I convert aac lost-free with ffmpeg?

Since I did not manage to get the audio work with ffmpeg -i video.mp4 -acodec copy -vcodec copy out.avi I'm searching for an audio format to which I can convert aac lost-free. Does such an ...
4
votes
3answers
2k views

How can I format a thumb drive so that I delete all existing files?

I have a usb thumb drive that I want to reuse. How can I format it?
0
votes
1answer
109 views

du (disk usage) and format specifier for file/directory sizes strings?

I am really fond of du, and I often like to use it like this: $ du -hsc /var/mail/ /var/log/ 2>/dev/null 4,0K /var/mail/ 5,7M /var/log/ 5,7M total However, I'd like to be able to ...
2
votes
2answers
4k views

Solaris disk failed, how to remove it?

I have a system with Solaris 10. One of the internal disks is broken: c0t0d0s2 auto:sliced rootdisk1_1 rootdg online c0t0d0s2 - c0t1d0s2 auto - ...
1
vote
3answers
989 views

How to convert dd disk image to Clonezilla?

I have disk image from VirtualBox, it is a raw image, just like dd makes it, now I would like to restore the system to real machine using Clonezilla. However Clonezilla does not recognize the image ...
3
votes
3answers
1k views

Will formatting my drive TRIM my SSD?

Will a standard fresh linux (Ubuntu 11.10 to be exact) install and drive re-format (full) successfully TRIM my SSD, or do I need to do something extra? I know that ext4 will TRIM blocks on erase ...
2
votes
8answers
2k views

How to generate a year-quarter date from the command line?

I'm interested in outputting a representation of the current year-quarter, as well as the year-quarter for the previous month. If today is 2012 January 1st, I'd like to get 2012q1 and 2011q4 as ...
1
vote
1answer
241 views

Backing up chroots for host reinstall

I've had my workstation for a couple of years now and its slowly become a complex beast, taking on many roles for my dev and test work. I have done some research and was thinking of setting up some ...
5
votes
5answers
8k views

How can I low-level format flash memory in Linux?

My friend was having problems with a USB flash drive, and I suggested he do a low-level format. Then it occurred to me that I don't even know how to do that in Linux. So... how can I low-level ...
10
votes
6answers
23k views

How to partition 22TB disk?

I have a 22TB disk on /dev/sdb. How do I create a 22TB partition? Don't really care about the file system - ext4 or zfs is fine. Running CentOS 6.2 - Partition will be used as a data dump. Only a ...
2
votes
1answer
147 views

Expanding text format in VI

The following code is taken from the superfish module for websites: (function($){$.fn.hoverIntent=function(f,g){var ...
2
votes
2answers
2k views

How do you format a USB stick after it is being labled “unrecognised” by Ubuntu?

I have a memory stick which I had cleaned of old data fragments. The memory stick was mounted on /dev/sdc1 so I did: dd if=/dev/zero of=/dev/sdc1 bs=1M After the task was complete, my usb memory ...
0
votes
1answer
265 views

Formatting secondary hard drive that has windows on it

I recently installed an setup an Ubuntu Server machine. It has two drives in it and the other drive has windows installed on it. (I didn't want to overwrite the windows installation until I had my ...
3
votes
2answers
12k views

How to format a write protected pen drive in Linux?

How can I format the write protected pendrive?
3
votes
0answers
126 views

129 MB used space shown in the SD card even after formatting it with mkfs.ext4 [duplicate]

Possible Duplicate: ext4: How to account for the filesystem space? The full 2 GB space doesn't get shown as free space even after fully formatting it with mkfs.ext4. Are these some system ...