General :: Changing Directory - Saved File On The Desktop - Cannot Seem To Get That File To Execute It
Mar 10, 2011
I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:
I try cd Desktop says that there is no such directory.
I tried /home/me/Desktop same thing.
View 5 Replies
ADVERTISEMENT
May 12, 2011
My shell script runs from the command line, but fails in cronjob. /bin/sh: asper.sh: Permission denied
-rw-r--r-- asper.sh I guess the permission should look like '-rwxr-xr--' How can I change the permission to be like that?
View 2 Replies
View Related
Jul 22, 2010
Whenever execute the below scriptlet with out proper file name it deletes /tmp directory .I guess this is because value of variable a didnt get initialized and there for rm -rf /tmp/ get executed and entire /tmp directory get deleted.How would i avoid any empty variables to be used in script? as this is a classic case of destructive script.
Code:
#!/bin/bash
echo "Enter file to delete from tmp"
[code]....
View 8 Replies
View Related
Aug 23, 2011
I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.
Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?
View 1 Replies
View Related
Sep 14, 2010
Assume the directory I locate is /mypath/bin/ , there exists a file named "ccache"
Then I execute ccache code...
View 8 Replies
View Related
Sep 16, 2009
What can I do about this?
Failed to execute child process "realplay" (No such file or directory)
using gdome Ubuntu, realplayer is in my Home folder (RealPlayer11GOLD)
View 3 Replies
View Related
Oct 26, 2010
I just installed Maya 2009 on Fedora 13.It seemed to run the RPM install fine, but when I go to Applications > Graphics > MayaI an error:Could not launch 'Autodesk Maya 2009 (64-bit)
Failed to execute child process "/usr/autodesk/aya/bin/maya"(no such file or directory)I browsed to this location in the file browser and there definately is a file called maya in "bin"
View 1 Replies
View Related
Dec 17, 2010
Can i make a .desktop file taht it executes autostart.sh script or any other script?
like xmonad.desktop od dwm.desktop?so that when gdm or any other gui login manager loads autostart apps in xmonad?
View 4 Replies
View Related
Oct 15, 2010
There seems to be a common solution to get the webcam working with Skype - rather than launching with Skype you launch with LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so skype - so far so good. When I do this I get the error There was an error launching the application. Details: Failed to execute child process "LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so" (No such file or directory). But I do have that directory and file on my system.
A ubuntu community doc talks about the terminal command sudo ld.so.preload-manager when I action this I get sudo ld.so.preload-manager /usr/lib/libv4l/v4l1compat.so [sudo] password for dad: sudo: ld.so.preload-manager: command not found
View 9 Replies
View Related
Apr 25, 2011
So I am trying to install Plastic 2.8.148.0 on a virtual server. I have the install package that i copied over to the machine using WinSCP i then gave the file executable permissions by using the command "chmod +x PlasticSCM-professional-2.8.148.0-linux-installer.bin" But when i try to install the package by using the command "sudo ./PlasticSCM-professional-2.8.148.0-linux-installer.bin" It gives me the following message.
sudo: unable to execute ./PlasticSCM-professional-2.8.148.0-linux-installer.bin - No such file or directory
why it isn't recognizing it? I know the file was there because i was able to change permissions and i can see it with -ls command.
View 2 Replies
View Related
Jul 12, 2010
Is there a way to have a directory automatically change the permissions of a file that is written to it? I have a program which saves files to a directory, and gives those files read-only permissions to members in the group. This is a problem, because other users of my computer need to be able to edit these files. The directory itself has rw permissions for group members.
I guess what I am looking for is a way for the directory permissions to "override" the permissions the program is trying to save the files as. For example, if the directory has "rw" permissions for the group, then any file saved to it will automatically get the same permissions, regardless of what the program writing the file is trying to do.
View 3 Replies
View Related
Apr 8, 2010
I have a Samba share set up on a SUSE server and users connect to the share via Windows XP workstations. On SUSE, if I create a file and grant ownership to "administrator" and give it 770 permissions for example, when someone goes in to modify that file, they become the owner as soon as they save it, and the permissions change to 470 (r--rwx---+) with an access control list. I want to maintain ownership of the file myself and I don't understand why someone changing the file is changing the permissions on it...This is driving me insane because every time someone saves something I have to go in and chmod 770 it before they can save it again.
View 2 Replies
View Related
Jun 12, 2010
I am using Ubuntu 10.04 LTS. Two days ago I updated using update manager. After that I can not boot Ubuntu. When I trying to boot system showing message " Ubuntu is running in low-graphics mode Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself" But I can not configure it.I can not boot to 'recovery mode' also
/var/log/boot.log
Code:
fsck from util-linux-ng 2.17.2
/dev/sda6: clean, 304282/1680960 files, 2964945/6723194 blocks
init: Failed to spawn ufw pre-start process: unable to execute: No such file or directory
[code]....
Now I am using Live CD.
View 3 Replies
View Related
Feb 1, 2009
I tried to download Knoppix 6.0 iso, but it ran out of storage space. It was placing it into /tmp. Is there a way that I could have it placed in my /home directory, which is plenty big?
edhe@hebrews:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 935M 256M 632M 29% /
tmpfs 470M 0 470M 0% /lib/init/rw
udev 10M 96K 10M 1% /dev
tmpfs 470M 0 470M 0% /dev/shm
/dev/sda9 356G 1.5G 337G 1% /home
/dev/sda8 373M 11M 343M 3% /tmp
/dev/sda5 4.6G 4.0G 383M 92% /usr
/dev/sda6 2.8G 341M 2.3G 13% /var
View 4 Replies
View Related
Feb 7, 2010
The last few times I had to restart my server, my iptables file was never saved and I had to load it from the backup. I always issue /etc/init.d/iptables save after any changes but for some reason it loads the default iptables file that came with the server.Any ideas on what to change?I would also like to use a default boot file that starts or restarts services like squid, nscd, postfix, iptables, etc - where can I edit that?
View 3 Replies
View Related
May 27, 2010
I just updated from 9.04 to 9.10 (it's a long story, and I still can't go beyond 2.30).The update got rid of WICD, which is what I used and installed network-manager. Network-manager was not working at all, so I uninstalled it again and installed WICD. I could connect perfectly and had no problems.However, now the computer hangs during boot, saying that init can't start network-manager. I assume that something went wrong during the uninstalling process, since it wasn't updated.
This is the message: init: Failed to spawn network-manager main process: unable to execute: No such file or directory.
So how do I update it or manually change it so it stops requesting network-manager?
View 3 Replies
View Related
Apr 6, 2011
My machine is dual booted with Fedora 14 and RHEL 6. (I have only installed Red Hat because I am studying for RHCE). Just now I tried to install the Banshee player on my Red Hat OS. I ran various scripts inside the directory to see what really happens and after I ran the 'Makefile.in' file my terminal froze. It displayed '/bin/ not found'Then i restarted my computer and I got the following messages:
init: Failed to spawn readahead-collector main process: unable to execute: no such file or directory
init: Failed to spawn rcS main process: unable to execute: No such file or directory
init: Failed to spawn readahead main process: unable to execute: No such file or directory
[code].....
I tried run level 1 and run level 3 but I get the same error messages.
PS: My Fedora 14 installation is working fine.
View 1 Replies
View Related
Feb 4, 2010
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
View 1 Replies
View Related
Apr 21, 2011
Can't log into my XFCE desktop like I normaly do. all the sudden I get notified that my xsession lasted less then 10 secondsLooking at the error I can see this:
Unable to access file /home/username/.iceauthority: No such file or directory
Using failsafe I can start a terminal. From terminal I tried to start X
Code: sudo startx Result: Running on desplay:0
So I tried to run this;
Code: sudo startxfce4 And I get up a graphical desktop.
So this is not a critical situation as I easily can use this method to log on, but as there has been something causing this I would like to be able to resolve this nonetheless. Btw it is not the old chmod trick in play here, cause my .iceauthority file is gone alltogheter.
View 6 Replies
View Related
Jun 10, 2010
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
[code]....
View 5 Replies
View Related
Mar 28, 2010
I'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:
/usr/lib/libgtk-x11-2.0.so.0
View 6 Replies
View Related
Feb 1, 2010
Failed to execute child process "gnome-help" (No such file or directory)I get this error when clicking on the Help button in, for example, the preferences dialog box like for the Time and Date panel.I cannot find anything in the Synaptic Pkg. Mgr. or Ubuntu Software Center that indicates "gnome-help".
View 3 Replies
View Related
Apr 14, 2010
I've installed MatLab in my Acer Aspire one netbook which runs karmic. Does anyone know what can cause this error message from appearing when i click on the icon? Could not launch 'MATLAB R2009a' Failed to execute child process "matlab" (No such file or directory)
View 1 Replies
View Related
May 11, 2011
When I press )print screen button ) it says ....here was an error running gnome-screenshot:Failed to execute child process "gnome-screenshot" (No such file or directory)
View 4 Replies
View Related
Jul 19, 2010
I have a remote Debian 5 machine on which I'm trying to extract a tar-file (Django 1.2.1, but that's unimportant). The first 1300 or so files extracts just fine (of about 2800 in total), after which errors liketar: Django-1.2.1/tests/urls.py: Cannot open: No such file or directoryshows up for the rest of the files, finally ending up with atar: Error exit delayed from previous errorsI use the commandtar xzvf Django-1.2.1.tar.gzI've also tried with sudo (but I'm extracting in my home directory, which I should obviusly have permissions to use without). I've tried gunzipping first (runs flawlessly) and then running tar xvf, but to no avail. I've fetched the file using wget:
View 1 Replies
View Related
Dec 16, 2009
Suppose I have a binary program with only execute permission enabled for the current user. How (in general) would I be able to obtain a core dump of the file? I think I have read it somewhere but I want to know if there are more ways of doing it.
View 1 Replies
View Related
Jan 30, 2011
I want to do the following.
1. have a directory full of subdirectory
2. Pick the first file from every sub and copy that to the main directory and also rename that file to the same name as the subdirectory's name
3. need to work in commandline best is a simple script.
View 4 Replies
View Related
Mar 8, 2010
Trying to run an executable, but it's not working for some reason:
Code:
View 14 Replies
View Related
Oct 26, 2009
I m trying to execute my file from with in vi. i m using following syntax esc :!<program-name> m i making any mistake as it is giving me an error.
My program is this:
#This program takes 3 Parameters from user namely name,address,phonenumber and store those details in detail.out file .
#To store output in only milind directory by doing this if we run this file within any directory the file get stored in milind directory only.
View 14 Replies
View Related
Sep 21, 2010
Downloading Virtual box, I saw a link with title All distributions on its home page:
VirtualBox-3.2.8-64453-Linux_x86.run
I have not downloaded it yet, I wanted to know how to execute it ? I've never seen a .run file before ! Does this mean this file is supposed to run on all distributions ?
View 13 Replies
View Related