General :: Remove A Folder : Getting An Error : Unexpected EOF While Looking For Matching?

Apr 8, 2011

I tried to remove a folder in linux, davidanderson'spetshop_617 as a folder name. It contained a single quotes. By using the following command

rm -r path/davidanderson'spetshop_617

I am getting this error ,Error: unexpected EOF while looking for matching `''unexpected end of files.How can i remove the folder?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Login Error "unexpected EOF While Looking For Matching"

May 26, 2010

I installed ubuntu on my 64-bit system using wubi and everything was running smooth for a while. I have been compiling builds from aosp. I logged in and out successfully on several occasions but not the system won't let me login. I know it isn't my password. When I go to login it continues as normal, then flashes a screen so fast I haven't been able to read it. I have gone into terminal by holding ctrl, alt, f4 and when I login there I notice the following possible errors that could be my issue:

-bash /home/myusername/.profile: line 24: unexpected EOF while looking for matching ''''
-bash /home/myusername/.profile: line 27: sytax error: unexpected end of line

I have some information on my system I don't want to loose. I have done a search and tried different solutions w/ no luck.

View 2 Replies View Related

Ubuntu :: Bash: Syntax Error Near Unexpected Token `(' \ When Want To Share A Folder?

May 16, 2010

I install nfs-common,nfs-kernel-serverNow I can not use

PHP Code:
# home 192.168.1.10(ro,no_root_squash) 
I get
Quote:
bash: syntax error near unexpected token `('

when I want to share a folder

View 2 Replies View Related

Ubuntu Installation :: Get Error When Try To Upgrade After Remove Desktop-base - Unexpected End Of File

Jan 15, 2010

i get this error

root:/boot# apt-get upgrade

Code:

Setting up desktop-base (5.0.3) ...
Updating /boot/grub/grub.cfg ...
Found linux image: /boot/bzImage
/etc/grub.d/01_OVHkernel: line 37: syntax error: unexpected end of file

[code]....

View 3 Replies View Related

Software :: Dpkg - Add / Remove Package Won't Work - Terminal Goes: Bash Syntax Error Near Unexpected Token `newline'

Mar 11, 2010

When I am adding removing packages to get more hard drive space, this is not the first time I left too many pages open and it crashes on me. My son would fix it by typing in the terminal sudo something, but I want to know how to do this. The only thing not working is the add/remove packages at the moment. Here is what it said, E:dpkg was interrupted you must manually run 'dpkg--configure -a' to correct the problem E: _cache-open()failed please report. Please, could someone tell me how to get the default back or whatever. When I type in the terminal, it refused my password until I tried several times, plus, it finally says in the terminal No such command. Bash. No such command. I am hoping this question is one you do recognize the answer for.

I tried using Yum to remove the package. Like this:

To remove or uninstall a package:

Code:

yum -y remove ,package name>

Terminal goes: Bash syntax error near unexpected token `newline'

View 3 Replies View Related

General :: How To Rename Everything Matching Certain String In Folder

May 19, 2010

I am running Linux and I have some basic console knowledge but my current problem is quite difficult and I dont know how to achieve this. I want/need to rename everything within a folder that matches a given string.

By everything I mean:
folders/files
content within a file
content in hidden files

Basically I want to refactor a Java-project. Sure, I could use Eclipse to handle the replacing, but this leaves out the folders or resources outside of my workspace. I was thinking of a script that could do the job for me but this seems rather tricky. For instance when it comes to folder-/file-rename I want to replace only the part of the name that matches my string, the rest should remain untouched.

View 2 Replies View Related

Ubuntu Installation :: 10.10 - Remove Old Kernels From The Grub2 Boot Screen - Error "awk: 1: Unexpected Character 0xe2"

Nov 1, 2010

I am running a dual boot system with windows 7 and Ubuntu. Both have run smoothly on my machine (Core 2 quad core on Gigabyte board) I recently upgraded to 10.10 from 10.04 via the update manager within 10.04. Following the upgrade the initial boot failed at the login screen ( i simply got the purple colored screen with a white box in the center of it). Instead of trying to figure out what went wrong, I simply re-installed 10.10 from live CD on top of the upgraded Ubuntu that was failing at the login screen. The live CD install seemed to fix everything for the most part ( I did notice some quickly flashing text right before the login screen. I think it was an error message but it was too fast to read)

My problem now is that I am trying to remove some of my old kernels from the Grub2 boot screen and I cant. I have read many posts on how to remove the old kernels, but my system is proving to be difficult. The old kernels definitely show during boot, but whenever I go into Synaptic they are not there. I have downloaded Ubuntu Tweak, and they do not show in it either. I have read the information at [URL] I went to http://www.fixthecode.com/remove-hug...sts-in-ubuntu/ and thought this would fix my problem but I keep getting an error: "awk: 1: unexpected character 0xe2" when i try to run: "dpkg -l | grep ^ii | grep 2.6.3x-xx | awk -F{print $2} I am running kernel 2.6.35-22 The kernels i want to remove are 2.6.32-23 and 2.6.32-24.

View 7 Replies View Related

General :: Error - Gzip :stdin:input /output Error /bin /gstar :unexpected EOF In Archive

Mar 28, 2011

when iam opening my dec_backup folder the folling error is appering :

the error is gzip :stdin:input /output error
/bin /gstar :unexpected EOF in archive
/bin /gstar: error is not recoverable :exesting now

View 1 Replies View Related

General :: Bash Error - Syntax Error Near Unexpected Token `{

Mar 4, 2010

I am new to shell scripting, bash specifically.

I am trying to run the following script:

Code:

When trying to execute I always get this error:

Code:

In case you need to know the permissions. Here is it:

Code:

I run the script using the following command:

Code:

View 1 Replies View Related

General :: Syntax Error Near Unexpected Token

May 4, 2010

find /opt/postfix/mail/email.com/~spam/~quarantine/ ( -iname * -o -iname .* ) ! -type p -exec grep -i -c admin@email.com {}; -xdev -print
When I do this command I receive this error message:
-bash: syntax error near unexpected token `('

View 2 Replies View Related

General :: Syntax Error Near Unexpected Token `else'

Dec 1, 2010

I wrote a script to start portal.

Its start portal (not a problem)

Only getting following message:

This is the else before second logic

View 32 Replies View Related

General :: Syntax Error Near Unexpected Token `in'

Jun 28, 2011

I'm trying to install the Sun Java plugin to use in Chrome. The installation seems to have gone well, but I have hit an error trying to create a symbolic link of the libnpjp2.so library in the plugins directory of Chrome.

When typing in "in -s /opt/java/jre1.6.0_26/lib/i386/libnpjp2.so" I get "Syntax error near unexpected token `in' ". I'm not sure what could be wrong, I'm in the right directory.

View 2 Replies View Related

General :: Bash - Syntax Error Near Unexpected Token `('

May 2, 2010

I am trying to install vlc media player on my backtrack3 but when i am giving a command xvjf to extract bz2 file then

bash: syntax error near unexpected token `('

View 1 Replies View Related

General :: Syntax Error Near Unexpected Token `for File In

Jan 19, 2011

I have been trying to get the following code to run.


Code:

However I am getting the following error:

Is there something that I am missing in the script? I have it as a unix file and tried to make sure that I did not have any extra characters.

View 7 Replies View Related

Programming :: Remove Exact Matching Word Using Sed?

Aug 18, 2009

I have a file which has the words "splashimage and "splash". I would like to remove the word only "splash" from everywhere.

Using the following command code...

View 2 Replies View Related

General :: Repeatedly Getting Command Substitution - Line 3 - Syntax Error Near Unexpected Token

Aug 31, 2010

I am repeatedly getting error:

I need to pass the value of:

I am using #!/bin/bash

This command works on shell without any issue.

View 8 Replies View Related

General :: Syntax Error - Unexpected T_STRING In /home/dodonet2/public_html/includes

Jan 10, 2010

My website can`t open because of the error, Parse error: syntax error, unexpected T_STRING in /home/dodonet2/public_html/includes/config.php on line 45.

View 8 Replies View Related

Debian :: [Exim4] Remove Header Lines Matching Received Client Ip?

Oct 14, 2009

Using exim4 only for sending email SMTP

I'd like to use Exim to remove the line header:
Received: from [111.111.111.111]
by HOSTNAME with esmtp (Exim 4.69)

what setting i should use and where should i put it in the exim4 configuration file, transport, router etc.

View 1 Replies View Related

Ubuntu :: Create New Directory But Keep Getting Same Error - Bash: Syntax Error Near Unexpected Token `newline'

Jan 13, 2010

I'm trying to create a new directory using the mkdir command.

Code:

home@ubuntu:~$ mkdir <aicoursework>
bash: syntax error near unexpected token `newline'

that's the error that i keep getting, what am i doing wrong?

View 5 Replies View Related

Ubuntu :: ERROR --bash: Syntax Error Near Unexpected Token 2

Feb 4, 2010

The following problem occurs to me, I'm creating a distribution (as a class project) for my school (I'm studying telecommunications and computer systems). I am following, in order to create the distribution, the manual that you can find on this page: [URL] But when I get to write:

[Code]...

View 3 Replies View Related

Programming :: Parse Error: Syntax Error, Unexpected '@' In Php Code

Jun 14, 2011

Parse error: syntax error, unexpected '@' in C:xampphtdocsminippromail.php on line 8 .......its not recognizing the '@' symbol. heres the code im working with

<?php $receiver = myfriend@ourmail.co.in; $subject = wish; $content = Hi! My dear friend how are you.; $sender = myself@ ourmail.co.in ; $headers = From: $sender; mail($receiver,$subject, $content,$headers); echo Mail has been sent successfully.; ?>

View 1 Replies View Related

Programming :: Matching Two Tables Of Non-matching Sizes?

Mar 2, 2011

I have two table files with x (1st column) ,y (2nd column) coordinates and intensity (3rd column). I need to match these two tables and divide the intensities at the consecutive coordinates on the 3rd column. The problem is the size of the tables are not same and I want to ignore the lines if they are not in one of the other file.

Here is Table 1:

Code:
-7.500-30.00013.006
-7.500-22.50037.952
-7.500-15.00060.962
-7.500-7.50040.922
-7.5000.00014.348
code....

View 3 Replies View Related

General :: Remove 'lock' From A Folder?

Mar 8, 2011

I made a folder with the terminal, but it shows a little lock on it. when i try to save or drag n drop folders into it i get an error. it says permission denied... how can i fix this?

View 7 Replies View Related

General :: Error "unexpected End Of File" - Script

Dec 28, 2010

i ve been struggling for 2 days now and cant figure out the soluton. this is my whole script

sqlplus SIEBEL/SIEBEL@oltpsia << EOF
set serveroutput on size 1000000
set heading off
set feedback off
Insert into EIM_ZIPCODE_BADEIM (select sysdate, 'TOPONOMASTICA','','', c.* From EIM_ZIPCODE c where
[Code]....

the sql is properly executed but the if condition not, and i keep receiving the error message "unexpected end of file"

View 4 Replies View Related

General :: Remove Noboby Permission To Folder?

Apr 9, 2011

How to remove the noboby permission to the folder

When i try to delete the folder i couldn't make it ...

my os : centos

View 2 Replies View Related

General :: Remove .mozilla Folder From Trash Can?

Dec 12, 2010

I have an old hard drive w/XandrOS that I decided to make external storage. I didn't bother wiping it. I figured I could just replace files on it like .mozilla folder.I currently have OSS 11.3 where I chose to copy and paste .mozilla from OSS to external HD. I was denied access to copy over certain files.Then I made the bonehead maneuver of trashing .mozilla from the external HD. Now, my trash can says that my access is denied to "cookperm.txt" and other files. I attempted to restore it, but it can't because the new .mozilla file is the external HD.Wow, did I corner myself. I could really use some help. Just want to eliminate that old

View 10 Replies View Related

Ubuntu :: Using Xfce4 And Remove Exo-utils - Error: "location Is Not A Folder"

May 9, 2011

I need to remove exo-utils apperantly because i get an error every time I open a downloaded file using firefox which says, error: location is not a folder.

View 5 Replies View Related

General :: Remove Virtual Machine And Deleted VM Folder From Hd?

Sep 21, 2011

I want to remove Virtual Machine and I have deleted VM folder from hd. It's still shown in the VirtualBox GUI but the settings are grayed out.

View 2 Replies View Related

General :: Remove Root Files From Home Folder?

Mar 30, 2010

i tried to run lame install. on debian lenny amd64.

sudo sh /home/levi/Desktop/lame-3.98.4/install.sh

it returned errors, and i gave up on that. but it has placed a bunch of files and directories in my home folder(not in Desktop)which are owned by root. how may i delete them?

folders are
ACM
debian
Dll
doc

[Code].....

mv: cannot move ..... to ... No such file or directory. which i at least FEEL is certainly not the case.

View 3 Replies View Related

General :: Nokia N900 - Delete A File Or Folder Via Apt-get Remove

Feb 25, 2011

how to delete a file or folder via apt-get remove but my written any rates and stops also tried rm and the file name again failed some sort of ideas otherwise I'm with Nokia n900

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved