It's meant to move old files from my Downloads folder into an archive file (later tar them). The directory exists, I've used $PWD and nautilus and ls to make sure it's there, yet for every file it gives
Code: find: `cp /home/chris/Download/foo.bar /home/chris/Downloads/ARCHIVE/2011-08-19': No such file or directory I tried to test it on a different destination, specifically my home folder. IT still gave me the error.IS it a bad syntax within find or something else? I'm running a 32-bit system with 11.04
Not sure but has support and updates for 11.2 come to an end? Every monday morning i make sure i'm upto date with updates etc. This am i get a message saying "repo not available" and having looked online to see if the directory openSUSE_11.2 exists, it doesn't.
At the same time loged in as a std user i regularily offer the command kdesu kwite. the command is accepted without error and the cursur returns on a new line as expected but kwrite doesn't start. I'm guessing that my last update has left me with a broken OS. It doesn't seem very long at all since i installed 11.2!
I want to create a file in the /root directory and then make sure it exists. The following code keeps telling me that the file doesn't exist even though it does.
Code: #!/bin/bash echo -e "username=someusername passwordsomepassword" | sudo tee /root/.credentials if [ -e /root/.credentials ]; then echo "File exists!"
[Code]...
[Edit] Added second double quotation mark at the end of "somepassword"
I have a directory called /data In this directory I have some files like abcejb.jar,12_ab_ejb.jar, shejb.jar, test I need a shell script like... 1st I want to check if there is any ejb file exists in the directory using some condition If ejb files exists I want to redirect the ejb files list to a file called list. Now I want to copy all the files in the list file to some remote system.
I was transferring some files from my laptop (running FC6) to a server at my work (don't know what kind) with "scp -rpC" and it stalled, don't know why. Now when I try to delete the files from the server so I can start again I get the following error message
My laptop keeps shutting down out of nowhere- now more so than ever since installing Ubuntu. After starting a thread in the hardware and laptop section asking anyone if they had a solution to a well known fan problem with the Acer Aspire 5315 (my laptop), the only responses I received were rubbish in nature. Simply put, the Acer Aspire 5315 has a faulty fan which runs only when it wants to- not when the computer NEEDS it to.
I found THIS solution to my problem: [URL]. As suspected, this isn't a BIOS thing as some have told me that it was. But here's the REAL crappy part - the solution posted in this thread works up until you're about to install the fix via the terminal. The commands spit back at me that "No such file or directory exists". THUS, I'm unable to get this thing working.
I need someone to explain to me why the terminal is spitting out the garbage that it is- that no such file or directory exists when attempting to install and launch the fix for this fan issue. Please be as detailed as possible. What? Should I move the script to some sub-directory? how does this input into the terminal?
I had netbeans installed and I removed it using wheris netbeans and then sudo rm whatever files it gave.I also remember doing sudo rm -r /usr/lib/netbeans6.9 I did this because i wanted to install netbeans via the repo. Now I installed netbeans suing
Code:
varun@varun:~$ sudo apt-get install netbeans
and when I try running netbeans i get...
Code:
varun@varun:~$ netbeans /bin/bash: : No such file or directory
I am new to Linux and I wanted to setup a dedicated game server on my notebook.
I've installed Ubuntu 9.04. I than created a directory named /home/phlex/kfserver. I downloaded the application binary from Steam. I changed the file permission with chmod +x hldsupdatetool.bin and now the file attributes are -rwxr-xr-x.
The problem is when I try to run the binary file. If I type ./hldsupdatetool.bin I get an error message "-bash: ./hldsupdatetool.bin: No such file or directory. It seems the OS can't find the file. I've downloaded the file several times thinking it may have been corrupt but it's not. I can delete the file, I can rename it and so the file is there. Sometimes Linux can be aggravating to use.
I'm having a rather strange problem - I'm trying to run an executable which is viewable using 'ls -l', and whose assembled code can be seen in programmes such as vi, but when I run it it says "zsh: no such file or directory". Here is a transcript of the commands:
There's been a couple of similar questions on LQ, but only one which seemed to have a vaguely helpful answer was this one. I too am running 64-bit Slackware, so it may well be a similar problem. The poster installs "ld-linux.so.2", which I don't have on my system (I have "ld-linux-x86-64.so.2" installed, though)... However, he gets it from a package using apt, and the source package which contains ld-linux.so.2 seems to be glibc.
Is ld-linux-x86-64.so.2 in any sense equivalent to ld-linux.so.2? Have other people seen this problem, and do they believe installing ld-linux.so.2 will solve the problem? If so, is installing glibc the right way of going about it?
I upgraded my php from 5.1.6 to 5.2.10 but at php -v I got a weird error, so I figured let's reinstall some things. This was the probably very dumb commando I used:
yum remove gcc-c++l zlib zlib-devel php*
Now I think my whole server is fxxxed because I get the following messages:
-bash: /usr/bin/yum: No such file or directory -bash: rpm: command not found -bash: ls: command not found
And the only thing I'm glad about is I still have an SSH connection open because creating a new connection isn't possible either. what should I do to repair this all.
An executable fails to be found and run when called even though it is found and displayed by ls.I am on lucid LTS fully updated 32 bit.The file has permissions setup but any attempt to run it results in the error bash ./executablename No such file or directory
This situation also seems to be present in kcronsometimes my scripts dont run from it even thoughthe run now option does.This bug has been around since dapper it would be nice if someone could fix it.
I'm working on my first bash script. My script will do several things but right now I'm just trying to get the basic part of it down and working.I have a section that looks like this
The problem is that if you take that right now and run it, it will return back good in that it does exist. What I need it to do is pass back that it's bad because it doesn't exist (that is unless you actually do have that directory in your root).
i'm brand new to linux and honestly don't know how to use it very well and i am trying to install java, following the directions is not working i am stuck at Code: chmod a+x jre-6u<version>-linux-i586-rpm.bin it says bash: version: No such file or directory i downloaded the software to the downloads folder firefox uses as default.
Awhile back, PabloTwo pointed me to zenity as a way to create bash scripts with changeable parameters. That thread is here, for anyone interested in reading about it: [URL] Anyway, my problem is that I'm trying to capture input that contains double-dashes ("--") but zenity (or maybe or it's bash???) complains with the following error message:
"This option is not available. for all possible usages. bash: [/code]: No such file or directory"
Here's an example of what I'm doing:
Code:
# Select the time of day Flytime=`zenity --list --text="Select the Time" --radiolist --height=300 --width=300 --hide-column=2 --column="Select" --column="Code" --column="Time of Day" "" "--timeofday=real" "Local Time"
[code]....
What I want to accomplish is for the variable $Flytime to contain either "--timeofday=real" or "--timeofday=dawn" (without the quotes) depending upon which radio button is selected. I have tried escaping "--timeofday" (e.g. "--timeofday" and even "--timeofday") but that's not working.
So I have created a Bash script with the intent of the program to change the names of the files in a folder's subdirectory.The code recognises the individual subdirectories, then is able to enter into one and list the files individually, but when it tries to change their information it says;' cannot stat ' : ' No such file or directory 'As if it is looking in the directory that contains the Bash script, not its subdirectory.It is essentially saying, I see a file here called FILE but sorry, I can't change FILE because FILE doesn't exist. kweh?Is this something outside the capabilities of Bash? Am I asking too much of it? Can Bash only manipulate files that are in the same folder as the script?
Basically, I am trying to locate and copy the newest .json bookmark backup in my .mozilla/firefox/w987sdg9.default/bookmarkbackups directory.
I tried this
Code:
ls -t ~/.mozilla/firefox/b1ahb1ah.default/bookmarkbackups/ | head -1
which does return the newest file, but only the filename itself. I found readlink, but I haven't gotten that to output a full path which I can then feed to copy. So, it seems to me that find might work well here, and I know how to find based on absolute dates, but not relative.
How can I open the Firefox Profile Manager. I've googled and read but the directions don't work for me:
randymanme@randymanme-desktop:~$ /usr/lib/mozilla/firefox -ProfileManager bash: /usr/lib/mozilla/firefox: No such file or directory randymanme@randymanme-desktop:~$ /home/randymanme/mozilla/firefox -ProfileManager
I understand the tilde (~) at the end of a file displayed in bash is a backup file in the Linux file system. Is there a way to keep these hidden when listing the contents of a directory?
I have a directory and sub-directories (4 or 5 depths). There are several type with extension in them (*.mp3, *.wma, *.jpg, etc). I would like to copy the whole directory to another location recursively but only *.mp3 files.
I've done a low level format on them so they're completely empty. When I use them with my windows machines, they're absolutely fine. When I plug them into my Ubuntu machine, there is a hidden directory created called 'RECYCLER' which I'm assuming is for deleted files?However, it also creates a .exe file in this directory called 0x2D9FA278 which has an Icon with an H in it and a comment of 'Facebook Photo' This has the effect of making all the directories on the stick into shortcuts! I googled the file name and it seems to be some sort of Trojan, but I don't understand how it's go into my Ubuntu machine, I've scanned with ClamAV and it finds nothing.
I downloaded a mouse theme form gnome look and installed it in the themes. But it has not appeared in the pointer themes section in custimation even though it said that it is installed correctly.When I drag the file to install it again it says something along the lines of it cannot copy a directory over a directory.Where can I find where the mouse/pointer theme is located and delete it. I have searched filesystem, google and these forums and not had any luck yet.
I am getting the databases from mysql and my database name is username_something. I am getting the username and then puting the respective backups in corresponding folders like
tar bala bla /backups/sql/username/username_something.tar.sql.gz
The problem is system worrks if i have the folder username already there but for new databases if get the error like unknown file path.
How can i do that if username folder is not there it should be created