Ubuntu :: Delete Hard Returns With Sed?
Apr 20, 2011
I would like to be able to get rid of hard returns when they show up in files (like ocr files). Is sed the best way to do this? If so, exactly what script do I use. How do I indicate the hard returns? Tried sed s/^M// source.txt >output.txt and that doesn't seem to do it.
View 3 Replies
ADVERTISEMENT
Jan 13, 2010
i assumed :i insert mode would allow to simply back space, no appearently not? it seems none of the websites anywhere on earth mention how to delete a carriage return in vi.
View 3 Replies
View Related
Aug 31, 2010
i have installed ubuntu today and i am enjoying it so far but there is still some problems am having i will explain from the start ,,,i have a hp laptop it has 1 hard disk c,d the d am not planing to mess with it because it has the hp recovery and it might be helpful one day ,,,,so i downloaded ubuntu to an external hard disk then when i was installing it i selected it to be installed on C i thought it would automatically delete vista but it didn't when the restarted the computer i saw 2 options vista and ubuntu so i was wondering if anyone can tell me how do i delete the vista and keep only 1 operation system and btw i have no CD or DVD or floppy available so i cant download it on a cd then format c and install ubuntu again so i need away to delete vista from c while keeping ubuntu in c
View 5 Replies
View Related
Feb 15, 2010
I have a file on a separate hard drive and it wont allow me to delete it.how I navigate to it in the terminal so I can remove directory there? I plug my usb lead in and go /hoome/boo/Iomega_HDD (name of the hard drive)but I cant get there,it doesnt show up as a directory.
View 3 Replies
View Related
Sep 27, 2010
I didn't know how to Make a cd image out of the Ubuntu iso so I made a seperate partition in my drive.Now I'm wondering how to delete the windows partition without formatting the whole hard drive.how to create a bootable cd image
View 2 Replies
View Related
Nov 13, 2010
Found what takes space but not sure what to delete here is the output of df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.2G 157M 8.6G 2% /
/dev/sda5 9.4G 9.4G 20K 100% /usr
/dev/sda6 213G 213G 20K 100% /var
none 1.0G 12K 1.0G 1% /tmp
tmpfs 2.0G 0 2.0G 0% /usr/local/psa/handlers/before-local
How to identify what to delete to clear up space?
View 9 Replies
View Related
Feb 22, 2011
I want to delete the KVM created hard disk image file, so I would like to know where it is located .
View 6 Replies
View Related
Mar 26, 2010
Can't delete files from external hard disk.
Getting message,"Input output error or unreadable/corrupted file"
Is there any way to delete this?
View 1 Replies
View Related
Jul 13, 2010
I experienced a full hard drive yesterday due to a massive error_log. We took care of the errors, but later found out we were missing files, including a MySQL database table. Having a shopping cart and ecommerce stuff on the site, we found that some of those files were missing, too.Does RHEL 5 have some sort of feature for automatically deleting files when the partition is full? If it does, I want to turn it off.
View 4 Replies
View Related
Feb 6, 2011
How do I erase my hard disk of "Deleted Files"?I mean how do I make "Deleted Files"-----> "Non Recoverable"?
View 3 Replies
View Related
Apr 18, 2010
Instead of moving to trash, how can i make the delete button delete? Delete is already enabled on the right click menu.
View 7 Replies
View Related
May 9, 2010
SO after using Testdisk to recover some images, the folders recup_dir.1 & 2 have saved in my FIle System area, when ever I try to press delete noting happens. I have also tried rm -f -rrm -f -fIt still dont delete, I have also deleted my user account and made a new one, but the files are still there.
View 4 Replies
View Related
Sep 25, 2010
I am trying to use an old box as backup server. I have tried a couple of possibilities along the lines of:
Quote:
rsync -a --delete --progress --log-file=/home/$USER/info.txt -e ssh /home /etc root@192.168.0.106:/mnt/back
The problem is it does not delete files that has been removed from my local system?
I run the command as root on the local system.
(I realize I should properly not ssh into the server as the server's root but I'm having trouble with the permissions and I want to make sure everything else works before messing around with it)
View 2 Replies
View Related
Feb 18, 2010
Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?
View 6 Replies
View Related
Nov 1, 2010
I just can't stand knowing that there's a slight problem with my PC.I have roughly 12.5 Gigs of files, mostly movies that are multiple clones of a particular movie (which was an entirely different problem altogether) and I CANNOT DELETE THESE THINGS! There has to be a simple way to do it from terminal, problem is, I can't seem to find the trash directory in terminal.
View 3 Replies
View Related
Sep 1, 2010
check the following program
/*a.c*/
int main()
[code]....
View 1 Replies
View Related
Nov 9, 2010
10.10 starts absolutely fine and goes to login screen. I enter my password and then the screen goes blank and returns to the log in page.
I first suspected it was a problem with password recognition but if I enter a wrong password it flashes up with an error so it can't be that. Only started happening after a standard update last night.
Am now having to use my flatmates windows PC to send this message
View 4 Replies
View Related
May 7, 2010
My desktop computer (Lucid) crashes randomly and returns to the log-in screen.
It does so when when there is no activity and the screen-saver is on.
I get messages like this:
Quote:
View 2 Replies
View Related
May 26, 2010
I'm getting these entries in my auth.log file. What is it and why it is returning passwords?
Code:
May 26 12:57:50 infecticide dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=david rhost=88.148.51.170
[code]....
View 1 Replies
View Related
Jun 7, 2010
When I try to boot into windows through grub it just returns to the grub menu.also system recovery options from bios just end up in grub screen too.here is boot script.From reading forums I think I need to get grub out of windows partition but I don't know how
View 9 Replies
View Related
Jan 27, 2011
I'm running ubuntu 10.04 as a server that hosts a website and our email. I set up the email (Postfix) to work with Dovecot to enable IMAP and POP support.The mails can be retrieved and sent through this server with no hassles. We just have an issue that all emails sent via a client to any other address (be it on the same domain or not) will return to the inbox of that client.So basically, I open MS Outlook. Click new message and send it off to my GMail address. After I send it, it pops into my inbox on Outlook (stating that it came from me). The intended recipient also gets the message.
View 2 Replies
View Related
May 13, 2011
Running start_navicat script in kubuntu 11.04 returns bash error ./start_navicat: 10: arithmetic expression: expecting EOF: "2*100+13 2". The same navicat version runs fine in ubuntu 10.10 and 10.04. I tried deleting navicat folders - including hidden folders and reinstalling, but get the same error.Can't test ubuntu 11.04 because i can't get it running (black screen - even grub). xubuntu 11.04 is very unstable too. kubuntu 11.04 is very stable otherwise.no idea what to do, other than continue using ubuntu 10.10 (which is the best ubuntu version to date imho)
View 5 Replies
View Related
Sep 6, 2011
Recently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?
View 14 Replies
View Related
Jan 21, 2010
I am trying to install xorg-driver-fglrx using apt--get but it return error which says btw i am using ubuntu8.10 Desktop distribution
Code:
root@VAIO:/home/miriyala# apt-get install xorg-driver-fglrx
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code]...
View 2 Replies
View Related
Feb 16, 2010
I just recently reinstalled 9.10 and everything I normally use with my workstation is working fine except for virtual terminals.
ctrl+alt+f1-f6 just returns with a blank screen.
ctrl+alt+f7 returns to gdm session
ctrl+alt+f8-f12 also yield no information.
View 3 Replies
View Related
Apr 6, 2010
After checking my tmp folder I found out some strange hidden and unhidden folders of programs that I have not used or downloaded. After removing each one using sudo rm -rf some folders insist on re-appearing, and after a reboot all folders are back.
Moreover, trying netstat -l, found that many of these files are in listening state.
How can I permanently erase them?
View 3 Replies
View Related
Apr 26, 2010
Since /etc/rc2.d/S19mysql does not exists anymore, and then init.d/mysql uses /sbin/start, I am unable to use mysql server anymore: me@mycomputer~#start mysql [ret] ...... for hours this command never returns so that ^C aborts...
me@mycomputer~#ps axw |grep mysql ( no results, no mysql!!! ) me@mycomputer~#stop mysql [ret] no returns either!!! This upstart [start|stop] thing seems a total failure for mysql!!!
View 9 Replies
View Related
Jul 12, 2010
I'm simply trying to compile a vanilla kernel from Kernel.org, I've done it before, however "make menuconfig" returns an error after I've made my changes to the config file.
Code:
Why is make returning that error? I am using a 64-bit kernel.
View 2 Replies
View Related
Jul 17, 2010
Since upgrading to Lucid (I think), I can't boot into Windows. When I select the Windows Vista entry in GRUB, the screen goes blank for a moment before returning me to the GRUB menu.I have tried pressing 'e' to edit the GRUB entry before booting, and what I find is that it says the root is hd0,1Since my Windows partition is sda1 in GPartEd, should that translate to, for example hd0,0 ?The only reason I want to boot into Windows in the first place is to install a BIOS upgrade from HP, which only works with their Windows software. If someone can suggest an alternative way of doing this then I won't need to boot into Windows at all.
View 9 Replies
View Related
Jul 23, 2010
my update manager has run today and returned updates for firefox. Which would be a superb, immensely handy thing - if firefox happened to be installed on my box. It isn't.Why does the update manager return updates for software that isn't installed?
View 6 Replies
View Related