Ubuntu :: Syntax Error When Deleting Dir?

Jun 1, 2011

I am trying to delete a dir (with the CLI), that contains many sub dirs and files:
Hello - DE Important Files Stuff (0000-0001)

I am using the command:
PHP Code:
sudo rm -rf Hello - DE Important Files Stuff (0000-0001)/ 

But I keep getting this error:
PHP Code:
-sh: Syntax error: "(" unexpected

The between the spaces in the file name isn't showing in the PHP code?!?

View 7 Replies


ADVERTISEMENT

General :: SUSE 10 Syslog-ng Syntax - Bash: Syntax Error Near Unexpected Token "("

Apr 20, 2011

I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:

filter f_local4debug { level(debug) and facility(local4); };

When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.

View 1 Replies View Related

Ubuntu :: Error: Syntax Error On Line 20 Of /etc/apache2/sites-enabled/portal

Feb 1, 2010

I am trying a release of Ubuntu has have run into a problem that does not make much sense. I am receiving the following error: Syntax error on line 20 of /etc/apache2/sites-enabled/portal: Invalid command 'ProxyHTMLEnable', perhaps misspelled or defined by a module not included in the server configuration
fail! I believe the modules required for this is apt-get install libapache2-mod-proxy-html and it shows under the available modules and it was enabled with a2enmod proxy-html.

The line from the config is ProxyHTMLEnable On. The release is the latest download with updates from, 32bit.

View 4 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

Fedora :: ERROR 1064 (42000): You Have An Error In Your SQL Syntax; Check The Manual That Corresponds To Your MySQL

Jul 20, 2010

i ,musing mysql5 at fedora12 i have just installed it but i ,m using mysqladmin -p root password mypassword it says ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqladmin -uroot password 123456' at line 1

View 10 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

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

General :: Error:syntax Error GRUB Or Similar

Feb 5, 2011

My brother has Tri boot Ubuntu ,7 and Vista ..GRUB2 is the bootloader..The problem : At boot after the Lenovo splash disappears , there appears some 4 to 5 lines of error , error:syntax error GRUB or similar..This is visible only for a fraction of a second before the GRUB2 menu pops up...

The OS es load properly on selection in the menu so no loss of functionality One another problem is there is no OS highlighted by default and the timeout message "Automatic Boot in 10 Secs" does not appear Reinstalling GRUB does not solve the issue

View 1 Replies View Related

Ubuntu :: Syntax Error On Done Statement

Nov 28, 2010

I have returned the below mentioned lines of code however I am receiving error "Syntax Error On Done Statement".

while:
do
clear
echo "-------------------------------------------------------------------"
echo "Main Menu"
echo "-------------------------------------------------------------------"
echo "[1] Today's Date"
echo "[2] Show files in the current Directory"
read yourch
case $yourch in

1) echo "Today is `date`,press a key ........";read;;
2) echo ls -l;read;;
*) echo "Select the yourch as 1 or 2";

View 3 Replies View Related

Ubuntu :: Sage Syntax Error On Startup?

Apr 28, 2010

I recently installed the package 'sagemath' on Ubuntu 9.10 Karmic without any errors by typing:

Code:
sudo apt-get install sagemath
However, whenever I type the command 'sage' and press enter, this happens

Code:
/usr/lib/sagemath/local/lib/python/site.py:150: Warning: 'with' will become a reserved keyword in Python 2.6
'import site' failed; use -v for traceback
Traceback (most recent call last):[code]...

I even tried uninstalling and reinstalling the package but to no avail.

View 4 Replies View Related

Ubuntu :: Syntax Error In VERSION Script?

Feb 17, 2010

when cross compiling libpng i get this error. I googled for it but i didnt get exact answer. Anybody knows what will be the problem? Code: /mnt/freescale/toolchain/bin/../lib/gcc/arm-none-linux-nueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld:libpng.vers:2: syntax error in VERSION script
collect2: ld returned 1 exit status i have these content inside "libpng.vers" Code: PNG12_0 {global:local: *; };

View 1 Replies View Related

Ubuntu :: Boot Error After Deleting?

May 10, 2011

i recently removed the Ubuntu partition in Windows 7. When I try to reboot I am faced with the the grub rescue error where it says no such partition.. I have tried booting Windows 7 from disc and I have even went into my BIOS and it says CD-ROM boot priority.. boot ready then says the grub rescue error again, stating that there is no such partition.

This is really annoying as all the tutorials on the internet say insert Windows 7 then use the recovery tools but I can't even boot any operating system. I have set the BIOS to boot from my CD drive..

View 6 Replies View Related

General :: Can't Open File/abcd/configFiles/vim/syntax/syntax.vim?

Mar 7, 2011

When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.

Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.

But still i keep getting the same error. I am not too sure where this file is mentioned.

Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.

View 1 Replies View Related

Ubuntu :: Installed Burg - Tried To Update - Got Syntax Error ?

Jun 14, 2010

I just installed BURG and the installationguide told med to run sudo update-burg. When I do that, I get this message: /etc/default/burg: 7: Syntax error: "(" unexpected

On another page, in the comments, I found out that deleting a line in the /etc/default/burg can fix it. But my problem is that I don't now which line.

My guess is about line number seven, but as I'm saying, I'm not sure.

Here are the document:

View 3 Replies View Related

Ubuntu :: Installing Driver Gcc Version Syntax Error?

Jan 20, 2010

I am new to Linux, but I can't produce any sound out of my speakers. So I downloaded the driver for my sound card from my motherboard manufacturer (it is an on board sound card). Now, if I am right I need to run ./configure . I did this and the following thing happend: Code: checking for gcc gcc

checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes

[Code]...

View 7 Replies View Related

General :: Syntax Error In If Loop?

Mar 7, 2011

I have a requirement to check the following conditions..If my folders are not A and B then list files in the directory else no listing the filesso my if loop is some thing like this.

Code:
if [ $dirName = "C" && $dirName != "A" && != "B" ] then
ls -la

[code]....

View 1 Replies View Related

Programming :: Syntax Error - Pascal ?

Apr 29, 2010

I have an error, which I have no idea why appears. All brackets seems ok.

error:

Code:

Code:

View 13 Replies View Related

General :: Error While Starting Apache2 / Syntax Error On Line 113 Of /etc/apache2/httpd.conf?

Nov 19, 2010

I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:

Code:

httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 6 Replies View Related

Ubuntu :: GRUB "error: Syntax Error" On Boot?

Nov 3, 2010

Whenever I boot my laptop, I get the following three lines:Code:error: syntax error.error:Incorrect command.error: syntax error.Right after I see the error messages for a couple seconds, the boot screen shows up and the rest of the boot progresses as normal. I'm on a Wubi 10.10 ubuntu install and I'm pretty sure this error has something to do with the GRUB_TIMEOUT line on 'etc/default/grub' file.I was experiencing some weird glitches with the boot splash screen (it was in the wrong resolution and would not display some times) so I edited that file to make it work. Here is the file:

Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

[code]....

View 9 Replies View Related

General :: MySQL Boot Syntax Error?

May 23, 2011

Mental note: ignore start-up process scroll.

Okay, now MySQL is just being (even more) difficult. Prior to boot's starting MySQL, I notice the line

Code:
/etc/rc2.d/S19mysql: line 132: syntax error near unexpected token ')'
Near?? Line 132 consists of

Code:
'stop')

Which is proper, and identical to all the other /etc/rc#.d/S19mysql scripts that don't result in errors. C'mon...!

View 9 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

Networking :: Syntax Error In Firewall Script

Apr 18, 2010

I have not used the word COMMIT in following firewall script.I want to know is it a syntax error.

[Code]...

View 9 Replies View Related

General :: Sudoers File: Syntax Error?

Jul 11, 2010

Recently I edited sudoers file and did typing error. Now neither I can do sudo nor change it.

Code:
sudo visudo -c
>>> sudoers file: syntax error, line 8 <<<
How I can get correct the sudoers file?

View 5 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

Server :: Syntax Error Near Unexpected Token `then'

Feb 16, 2010

I am trying to build a script that runs on AIX, Solaris, and various flavors of Linux as well. It is very simple, or so I thought. I have the AIX and Solaris servers working well. Next I tried to get my workstation to run the script and it bombed. I am running Fedora 12 x86_64, but that isn't really important. I have various flavors of Linux. Some CentOS, RH, and even a Gentoo server. The script I have runs every hour on all servers. I can push out changes and install software with it, but the Linux WS won't run it.

Here is my script:

And here are the errors:

Is this just an issue with going between ksh and bash?

View 4 Replies View Related

Software :: Yum Fails With Perl Syntax Error

Mar 5, 2010

I have a CentOS 5.4 box running usermin/virtualmin and have been keeping it up to date. Recently all the updates have started failing because yum is broken somehow. Even if I just try to get a version or something here is the response I get from the command line:

# yum -v
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in ?
import yum

[Code]....

I have seen a lot online about problems with yum suggesting "yum clean all" as a fix - but I can't get yum to even start so, of course, that is not an option. I have done nothing manually to this box - the last update must have caused this issue. I also dunno much about perl but I see no problem with the line:

require './apache-lib.pl';

View 5 Replies View Related

Programming :: Sed - Syntax Error Near Unexpected Token

Mar 9, 2011

#by executing bash file
#!/bin/sh
sed -i 's/if (IEexec || domExec) document.write('<iframe id="IdMyIframe" '+IframePropriedades+'></iframe>');//g' *.php

Output is:
line 4: syntax error near unexpected token `<'
line 4: 'sed -i 's/if (IEexec || domExec) document.write('<iframe id="IdMyIframe" '+IframePropriedades+'></iframe>');//g' *.php'

View 6 Replies View Related

Programming :: Syntax Error Near Unexpected Token

Jun 18, 2010

I'm fairly new to shell scripting and am having the hardest time figuring out why this simple script is giving me an error

The error is "syntax error near unexpected token `else'

I'm using TextEdit on OSX (sorry I'm limited to this). The only thing I can think of is that it's reading some return character and getting thrown off. I've tried saving the script using different encoding types but the same error pops up.

I also get an error at line 2 because it does not regonize as a command

View 5 Replies View Related







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