General :: Open A Script File (same File Every Time)?

Aug 12, 2010

I need to goto a folder, open a script file (same file every time). The file has different function calls, I need to comment all other function calls and just un-comment the one I want to use.

#call_1
call_2
#call_3

[code]....

View 14 Replies


ADVERTISEMENT

General :: Parsing File Dates - Get The Date Of The Last Time A File Was Modified ?

Jan 11, 2010

I need to get the modified date on a file in linux to use in a script.I tried using 'ls -l' on the file, but this caused problems when the date turned from a single digit into a double. The reason for the problem was because I was parsing the result string on spaces.How can I get the date of the last time a file was modified so I can use it in a script? For example, if a file was modified on 1/11/2010, I need the 11.

View 2 Replies View Related

Ubuntu :: File Properties Takes A Long Time To Open

May 6, 2010

I have a newly installed Kubuntu 10.04 running here, works fine except for one thing.

I have a kind of "fileserver" and it has a samba share that I have mounted in the home folder of my desktop computer ("/home/xxx/fileserver", the server is running an older version of Ubuntu, can't exactly remember what it is but the filesystem is ext2, if that's of any importance).

I have large files on the server, mostly video. When I use Dolphin (or Konqueror, doesn't make any difference) and right click one of these large files and choose Properties, it takes a LONG time to load the properties window. As if it copies the file to local hd before opening properties, or something.

The reason why I posted here and not in the networking section is, that I had the exact same setup with my previous installation which was Kubuntu 8.04, and also at least three different Ubuntu's before that. Never had this problem before, so I think my server and networking thingies are okay.

View 1 Replies View Related

General :: Cannot Open File In RW Mode - Filling Root File System With Log Files

Nov 3, 2010

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.

View 6 Replies View Related

General :: 6.13 GMP-5.0.0 LFS Make Error - Cannot Open Shared Object File: No Such File Or Directory

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

General :: File Privileges - Check And Set Who Can View Or Open A Given Folder Or File?

Jul 30, 2010

How can I check and set who can view or open a given folder or file?

View 1 Replies View Related

General :: (xubuntu) Click On Webpage File And Open File With Emacs?

Aug 26, 2010

I am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?

View 1 Replies View Related

General :: Libgtk-x11-2.0.so.0: Cannot Open Shared Object File: No Such File Or Directory

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

General :: Open Local File Error When Creating File Descriptor?

Sep 14, 2009

error message when I ran my program that I couldn't open my local file. I have two files first one is called client, second one is called server I am using named pipes to sent a message from client to the other file called server in client I used mknod() to create the two named pipes,one for read,one for write and created new thread in client using fork() spawned a child process that executed the server file both named pipes are opened the client file got the message from the user and sent it through the named pipes to the server file when the server receives the message , it needs to verfify it is correct in the server file, a local file descriptor is created to read and send this verifing message when it is not correct but I am getting an OPEN() error when I tried to open this shared local array buff and attach it to a file descriptor where the message is kept why do I get this error in server file

int main()
{
/*both named pipes are open*/
rfd=open(IFIO1,0);
wfd=open(IFIO2,1);

[code]....

View 1 Replies View Related

General :: How To Verify If The File Is Binary Or Text Without To Open The File

Sep 7, 2010

how to verify if the file is binary or text without to open the file

View 2 Replies View Related

General :: View A Particular Ten Lines In A Large File Where Can't Open The File In Vi

May 12, 2010

I am using RHEL 5.I have a very large test file which cannot be opened in vi.The content of the file has some 8000 lines.I need to view ten lines between 5680 to 5690.How can i view these particular lines in a large file.what is command and option i need to use.

View 1 Replies View Related

General :: Extracting Tar File: Cannot Open: No Such File Or Directory?

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

Ubuntu :: Every Time Open A .conf File It Pops The "Do You Want To Run Or Display Its Content?"

Sep 16, 2010

I'm working with .conf files which I need to edit (with gedit for example) and an .sh file which I need to run occasionally.

And every time I open a .conf file it pops the "Do you want to run or display its content?" question.

I tried to configure Nautilus to stop prompting me every time by setting the Edit->Preferences->Behavior to Run executable text files when they are opened.

But now every time I try to run the .sh file it opens it in gedit instead of running it.

Is there anyway to set the behavior for specific file types?

Like so it'd open the .conf files in a text editor and run the .sh files?

(Maybe I should mention that I'm running Ubuntu 10.04 with Gnome)

View 5 Replies View Related

Ubuntu :: Edit File Inside It, Open It, Edit A File, Then Remake The Bin File?

Mar 3, 2011

I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?

View 7 Replies View Related

Ubuntu Installation :: Libotcl.so: Cannot Open Shared Object File: No Such File Or Directory

Feb 15, 2010

there are number of threads floating on installation of ns2..however i am unable to get it on my 64 bit system ns: error while loading shared libraries: libotcl.so: cannot open shared object file: No such file or directory

View 1 Replies View Related

Ubuntu :: Downloaded The Demo Of Penumbra Overture, It Is A .sh File (113Mb) Can't Open The File?

Jun 2, 2010

I downloaded the demo of Penumbra Overture, it is a .sh file (113Mb). I can't open the file. In a terminal I ran chmod +x PenumbraOvertureDemo-2553.sh and then sudo ./PenumbraOvertureDemo-2553.sh and I get an error "./PenumbraOvertureDemo-2553.sh: 2: Syntax error: "(" unexpected" . The quotation marks are my own. Is the file corrupted? One of my lugmates thinks it might be a shar file, but Karmic says that it is a shell script. Another friend says that it is too large to be a shell script. Here is the code:

john@john-laptop:~$ cd /home/john/00
john@john-laptop:~/00$ chmod +x PenumbraOvertureDemo-2553.sh
john@john-laptop:~/00$ sudo ./PenumbraOvertureDemo-2553.sh

[code]....

View 4 Replies View Related

Ubuntu Multimedia :: Libpython2.5.so.1.0 - Cannot Open Share And Object File: No Such File Or Directory

Jul 27, 2010

When running the beta of blender 2.5, I get the following error. blender: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory In previous versions of ubuntu you could 'apt-get install python2.5' to resolve the issue, but it doesn't appear in any/all of the repositories. where I can get python2.5 for lucid-lynx?

View 1 Replies View Related

Ubuntu Installation :: Libgtk-1.2.so.0: Cannot Open Shared Object File: No Such File Or Directory

Aug 8, 2010

I was looking to download "America's Army" and was doing alright until I hit a slight snag, It had an error while loading libgtk1.2, so I scoured the Internet for a way to fix this and the find command I found just told me it couldn't find the package, this is the first error I got when I tried to uncompress the "America's Army" version I downloaded:

/home/zac/.setup3597: error while loading shared libraries: libgtk-1.2.so.0: can not open shared object file: No such file or directory.

View 1 Replies View Related

Ubuntu :: When Open Any .pps File With OO.org (impress), It Starts A Slideshow And It Doesn't Let Edit The File?

Aug 24, 2010

When i open any .pps file with OO.org (impress), it starts a slideshow and it doesn't let me edit the file. If i click on "end slideshow", the program exits.i ran it in a terminal and there's no error messages.[EDITED]Well, i found the answer, just renaming it to ".ppt".

View 2 Replies View Related

Ubuntu :: ImportError: Libtiff.so.3: Cannot Open Shared Object File: No Such File Or Directory

Dec 22, 2010

I followed [URL] that thread for installing BitPim on 10.04, but am getting this error:

Quote:

Traceback (most recent call last):
File "/opt/cx_Freeze-3.0.3/initscripts/ConsoleSetLibPath.py", line 35, in <module>
File "src/bp.py", line 20, in <module>
File "src/bp_cli.py", line 21, in <module>

[code]....

View 1 Replies View Related

Slackware :: Slapt-get Error On First Run - Cannot Open Shared Object File: No Such File Or Directory

May 22, 2011

I get an error when running slapt-get. The error is: "slapt-get: error while loading shared libraries: libsas.so.2: cannot open shared object file: No such file or directory".

I've booted the Slackware disk # 1 and unchecked everything except the libraries category and installed them. I rebooted and it still says this. I get this same error before I put the disk in and rebooted to install ALL libraries. I really need help. BTW, I can't load KDE.I found a pkg manager already installed called "slackpkg". But I really need help on this library issue!! I uninstalled it (slapt-get) anyway, so forget that!

View 3 Replies View Related

Fedora :: VBoxVMM.so: Cannot Open Shared Object File: No Such File Or Directory

Oct 26, 2010

after updating my system I can't start VirtualBox-OSE anymore. I get the error:

VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: VBoxVMM.so: cannot open shared object file: No such file or directory

I try to remove and to re-install VirtualBox-OSE again, still the same error. VirtualBox works as root but not from a user account. The installed version is VirtualBox-OSE.i686 3.2.6-2.fc13 @rpmfusion-free-updates

View 12 Replies View Related

Fedora :: Cannot Open Shared Object File: No Such File Or Directory"?

Mar 28, 2011

I am trying to run Ansys on Fedora (64bit), but every time I do it gives me this error. "error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory"Please help as I am stuck with this issue for long.

View 6 Replies View Related

OpenSUSE :: Libjpeg.so.62 - Cannot Open Shared Object File No Such File Or Directory?

Jul 10, 2011

I'm trying to use a software on OpenSuSE 11.3 (64) and am getting an error message similar to the one in the title. I did a bit of background reading on libjpeg.so.62 that the program was asking for. I noticed that I had a file called libjpeg.so.8 in my /usr/lib/ folder. I found a libjpeg.so.62 file online, downloaded it and copied to to my /usr/lib folder, but its not making any difference.

View 1 Replies View Related

Ubuntu :: Libalter.so.1: Cannot Open Shared Object File: No Such File Or Directory

May 11, 2010

I've got a problem with running a program called Synapse in ubuntu 10.04.

When i run "runSynapse.sh" script nothing happens. Then i tried running it from terminal with sudo command and this is what i got:

Code:
error while loading shared libraries: libalter.so.1: cannot open shared object file: No such file or directory

I checked the synapse directory but libalter.so.1 was there.

View 1 Replies View Related

Ubuntu :: Libgtk-1.2.so.0: Cannot Open Shared Object File: No Such File Or Directory

Sep 6, 2010

Whenever I try to install a game thats in a .run file format, I get the following error. libgtk-1.2.so.0: cannot open shared object file: No such file or directory

I am trying to install Unreal Tournament.

View 4 Replies View Related

Fedora :: Error - Cannot Open Shared Object File: No Such File Or Directory

Mar 4, 2010

i have a problem with realplayer 11 i can't open it due to that error message

Code:
/opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory so how can reveal this problem

View 4 Replies View Related

Software :: Libassimp.so: Cannot Open Shared Object File: No Such File Or Directory

Mar 14, 2011

I have installed and built gazebo and it passed without any errors.I'm running on ubunto 10.10, and I installed gazebo version 0.10 (straight from their website)while trying to run it ( with a given world or without as shown below) I get the following error:

root:~# gazebo
gazebo: error while loading shared libraries: libassimp.so: cannot open shared object file: No such file or directory

I tried installing libassimp again, I have installed the 2.0 version from this link

[URL]

when searching for libassimp I get the following results:

root:~#find / | grep libassimp.so
/home/admin123/Downloads/gazebo-0.10.0/build/3rd_party/assimp/code/libassimp.so
/home/admin123/Downloads/assimp--2.0.863-sdk/build/code/libassimp.so.2.0.0
/home/admin123/Downloads/assimp--2.0.863-sdk/build/code/libassimp.so

[code]....

View 1 Replies View Related

Programming :: Libmpi_f90.so.0: Cannot Open Shared Object File: No Such File Or Directory

Aug 6, 2010

I am running after compiling a program and I find that I get the following. How best can I avoid this as i cannot run the program. I have tried removing the offending package, although I cannot find it. I have also tried re-installing. I have also tried changing FC and F90 flags to avoid the MPI version.

error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory

View 1 Replies View Related

Slackware :: Libuuid.so - Cant Open Shared Object File - No Such File Or Directory

Sep 9, 2010

I tried to upgrade my slackware xfce 13.0 >> 13.1. I read "man slackpkg" first, and then I did exactly what I read at the man pages, my system was in init 1 mode.

The mirror I used it was the Greek mirror for 13.1. The command slackpkg upgrade-all was running ok until the "r" letter after that all packages did not upgraded because it was ERROR CHECKSUMS.md5 to all of them. Slackpkg did not upgrade all this packages but just check them and them skip them.

When everything stopped I reboot but at loading time it stops and I have this message: "libuuid.so.1:cannot open shared object file: No such file or directory."

After that I have 2 options to press control-d to reboot or to give root pass and login as root@(none):

After I login I cant connect to internet, I cant shutdown the system only reboot it from cl, I even cant go to init 1 or anything else. I dont know if I can fix the problem but I have to try...

View 2 Replies View Related







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