General :: Write A Command To Set The /bin/tetris File Executable

Feb 12, 2011

How do you write a command to set the /bin/tetris file executable

View 2 Replies


ADVERTISEMENT

Programming :: Write A Script That Makes File Executable And Writes A Message That It Has Been Done?

Mar 10, 2010

like my alias a retired person, and Its never to late to learn something½ve just installed Ubuntu and found a tutorial online about bash-script.Manage some, but I cant to this one:[Write a script that makes file executable and writes a message that it has been done.If I run the command > <scriptName> <fileName> , then the file fileName should be executable and then it should indicate that fileName have been executable.]

Ive read man pages up-n-down and search the web, and I think I should let the script use chmod and ls -l, but I cant get the hole picture here. Actually I have nothing to show up, so I hope someone could help me with some ideas or a soloution - just to the how it should look.This is my first post, ever, at a forum like this, so please be nice if I didnt follow any rules here, I dont know if you even will answer this post, but at least give me some clues, a skeleton-code ti be based on

View 2 Replies View Related

General :: Write Shell Script That Takes A File Path As Command-line Arguments?

Dec 14, 2010

How can i write a shell script that takes a file path as command-line arguments.and it should report whether the path denotes a file or a directory.

View 2 Replies View Related

General :: Write A Literal Bash Command In A Bash File?

Nov 29, 2010

I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:

Code:
#!/bin/bash
cat > ~/generateGridmix2data.sh << END

[code]...

View 6 Replies View Related

Ubuntu :: Cannot Open An Executable File Because Of Executable Bit?

Jun 20, 2010

I am running into a snag on .exe files in Lucid. I have Wine installed, but I can not open the file as it is blocked from executing with a window popping up telling me that this file was blocked due to security reasons. I go into the files properties and try to change the permission but that does not help. Is there a way to get around this? Possibly in the terminal as root?

View 3 Replies View Related

General :: Converting C Code Into Command Line Executable?

Sep 1, 2010

I thought this question's best category would be in the newbie sectionBasically I have a C code, (for simplicity is only prints a few lines), called printx.c that I would like to convert into a binary file so whenever I have to type "printx" in the command line it would execute the programofcourse gcc will give me a binary file if I do a "gcc printx.c", but even the output file (e.g. print.outwould have to be executed following manner./print.outI only ask, because I notice programs like mailx (which is written in C) is a binary file that could be run in this manner (at least that's what I notice on my ubuntu distro)

View 3 Replies View Related

General :: Check The Referenced Functions In A Executable Through Command?

Oct 20, 2010

Is there any command that can check the referenced functions in a executable?

View 1 Replies View Related

General :: Executable File Contains The Precise Path To SO File?

Aug 13, 2010

Does executable file contains the precise path to SO file? Should it be compiled with precise knowing of SO file location?

View 8 Replies View Related

General :: How To Use A Executable File

Oct 21, 2009

some of the programs that i downloaded are launched with a linux executible file and i don't know how to make it work, how do i execute it double clicking doesn't help it just asks me which program i would like toopen the file with

View 5 Replies View Related

General :: Using Variable To Run An Executable File?

May 27, 2010

I have an executanle file in a directory (say /home/mahmood/test/do-sample) and in a bash file I want to run it:

Code:
#!/bin/bash
M_VARIABLE = $HOME/test

[code]...

View 3 Replies View Related

General :: Can Not Start An Executable File?

Aug 5, 2009

I have an executable file called jboss in the current directory:-rwxr-xr-x 1 test jboss 7151 Aug 5 11:04 jbossAn in the file jboss it looks as follow:

Code:
...
#---------------------------
# command handling

[code]...

View 3 Replies View Related

General :: Make A File Executable And Then Run?

Jan 24, 2010

I have created a file named as pm under the path /home/ppp/ i.e. /home/ppp/pmTo make it executable, I've used command: chmod a+x /home/ppp/pm while residing in root directory.But while trying to run from root by typing ./pm or within the directory /home/ppp, it was displaying that directory not found.Please help by providing the step by step procedure, so that I would be able to run my file from root or from the directory.

View 3 Replies View Related

General :: Changing The Name Of Executable File A.out?

Jan 18, 2011

Is there any way to change the name "a.out" of executable file to any other name of our choice..

View 5 Replies View Related

General :: Stop An Executable File?

Feb 23, 2011

i run this command on file : chmod u+x recon (recon is the name of the file). then i run the file in question (. recon). i just want to stop it; how to do this ?

View 9 Replies View Related

General :: Write <Esc> In The Vim Command Line (:vim Command)?

Jun 24, 2011

how do you write the ASCII character #27 in the vim command line?

View 6 Replies View Related

General :: Fatal: Bad Magic Number In Executable `prime' (not An Executable?)

Sep 3, 2010

I am trying to run Wattch simulator in linux.But it is giving the error below. what is this error and what do I do about it?

fatal: bad magic number in executable `prime' (not an executable?)

View 1 Replies View Related

General :: Executable File Using C - Colourful Line ?

Sep 23, 2009

I am creating a executable file using c in linux...I want to make the output lines colourful...

Example:

I want to make the "Hello" colourful...

View 1 Replies View Related

General :: Chmod Make Any File Executable?

Feb 23, 2011

can chmod make any file executable?

View 4 Replies View Related

General :: Make A File A Executable Program ?

Dec 21, 2009

How Do I make a file a executable program ?

View 3 Replies View Related

General :: Run An Executable File (.exe) From Matlab In A Enviroment?

Jun 22, 2011

I have a computer with Windows and I am running a Matlab program remotely in a Linux server. That (matlab) program will use an executable file (.exe) to analize some data; and that data will be used as input to a program that I can only run in the linux server.I need to run an executable file (.exe) from matlab in a linux enviroment. Is this possible?

View 13 Replies View Related

General :: Change Image Of An Executable File From Commandline.

Feb 15, 2011

I want to change the icon image of the executable files from command line.

View 3 Replies View Related

General :: Compress The Size Of ARM9 Executable File

Apr 28, 2011

i am using classpath-0.98,jamvm-1.5.4 and arm9 cortex processor. so my question is after install classpath and jamvm on arm9 , i am getting around 30MB FAT file. so tell me some tips how to reduce the size of FAT file as much as possible.

View 1 Replies View Related

General :: File - Extract Executable / Script From Memory In (Ubuntu)

May 11, 2011

when I delete a running executable or script, it usually (for me, pretty much always, but I don't know if it will work in every case) continues to run without any problems. So I've got two questions here: Where is the running executable/script being run from? RAM memory? If stored in RAM or where ever, is there a way to extract the executable/script from that location? If it makes any difference, I'm using Ubuntu 11.04.

View 1 Replies View Related

General :: Creating Desktop Shortcuts - Executable File For XMMS

Dec 19, 2009

I just installed XMMS and I want to create a shortcut on the desktop to run it. I found a how-to video for creating shortcuts so I have the gist of it (I was able to create one for Firefox) but I don't know where to find the executable file for XMMS to do the same. I just don't know enough about Linux's file structure to know where to look.

View 2 Replies View Related

General :: Run An Executable File ( Created From Qt) Post Installation (redhat)?

Feb 24, 2011

I want to run an executable file during or post linux installation which take input from user and closes on click of "ok" button. The thing i want to accomplish is something like the screen that turn up during the installation, like setting time or selecting some packages and then pressing next button...i want to do a similar stuff like the above said using my applicatio

View 2 Replies View Related

General :: Executable File Apparently Doesn't Exist When Trying To Execute With Bash

May 9, 2011

I downloaded a program called tonespace http://www.mucoder.net/en/tonespace/ which I extracted and then tried to execute the executable file with ./tonespace. This gives me the following message:

bash: ./tonespace: No such file or directory

When I use the command: file ./tonespace I get this: tonespace: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped

I dont get it. The file is clearly there, yet when trying to execute it bash doesn't seem to recognize it.

It has permissions rwxr-xr-x and is not owned by root. Am I overlooking something?

View 2 Replies View Related

General :: Unable To Install Crclient Which Is An Executable File For System / Sort It?

May 2, 2010

I'm new to Linux world. I'm using Ubuntu 9.04. I'm unable to go online using Ubuntu because I'm unable to run an executable client application provided by my ISP. I called them and they are not able to help me instlling this client applicatoin for me on my Ubuntu. "I cannot go online untill I install this ISP client application on my Ubuntu." I'm entering my ISPs weblink in this blogpost so that it would be easy for you guys to help me resolving this issue. http://www.spacenetindia.net/download.php This is the weblink where I downloaded that ISP client application from. I clicked on this link and clicked on 24online clients.exe tab located on the left and downloaded linuxclient.gz. Please help me if you find any resolution for this issue. Though I tried downloading Wine but I could not as I cannot go onlnie in Ubuntu. In windows I don't know how to install wine to make it work offline in ubuntu.b

View 14 Replies View Related

General :: Remove Write-Protected File - Will It Actually Delete The Password File?

Jul 30, 2010

When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?

View 1 Replies View Related

General :: Write A Script To Sudo The Last Command?

Feb 19, 2011

for some commands such as apt-get install xxx, I forget to add sudo first, then I need to retype it. What I want is in such cases, I just type a simple command, for example resudo. It will sudo my last command sudo apt-get install xxx. Is it possible in bash?

View 1 Replies View Related

General :: Write A Loop Command For Pdf2djvu?

Jun 25, 2011

How do I write a loop command to periodically check a given folder and then create a djvu file from any pdf it finds.pdf2djvu works great but I'm looking to set up a "hot folder" for general office staff to use.

View 3 Replies View Related







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