a wuick queston about Linux


Recommended Posts

I downloaded something for the first time and it asked me what to open it with? what should I choose? I am currently using Knoppix ... can anyone help ? I realize this is a really noobie question so it should be easy for u to answer :)

Link to comment
Share on other sites

You don't open them per say, try this command in your favorite shell:

./"binfilename.bin" without the quotes.

If that doesn't work you might have to do chmod +x binfilename.bin first.

Link to comment
Share on other sites

You don't open them per say, try this command in your favorite shell:

./"binfilename.bin" without the quotes.

If that doesn't work you might have to do chmod +x binfilename.bin first.

noob translation:

Any file can be executed in a Linux/UNIX/BSD/*nix environment.

Windows uses a .exe or .com extension to mean "executeable". Linux uses a file attribute flag to mean executeable.

To execute the file, go to the directory where it is located, and type ./filename (that is [dot][slash][filename] to specify the file in the current directory)

If the attribute is not set, you can force this to be set ON for all users (user, group, and world) with the command chmod a+x filename. (that is CHangeMODe of the file for All users to +(add) eXecute capabilities to the FILENAME you specify)

There is more to it, but this will do for starters. :yes:

Link to comment
Share on other sites

noob speak:

in windows you can run an EXE. in linux, you can run anything, as long as it has a executable flag.

the chmod changes the mode of the file to make it executable

edit: reminder to self, refresh page before posting..... :pinch:

Link to comment
Share on other sites

noob translation:

Any file can be executed in a Linux/UNIX/BSD/*nix environment.

Windows uses a .exe or .com extension to mean "executeable".  Linux uses a file attribute flag to mean executeable.

To execute the file, go to the directory where it is located, and type ./filename  (that is [dot][slash][filename] to specify the file in the current directory)

If the attribute is not set, you can force this to be set ON for all users (user, group, and world) with the command chmod a+x filename.  (that is CHangeMODe of the file for All users to +(add) eXecute capabilities to the FILENAME you specify)

There is more to it, but this will do for starters. :yes:

Thanks for that, I was lazy :p

Link to comment
Share on other sites

"setting the execuatable flag" is where I am having problems ... whjere do I go ? what do I do? I feel like a a newbie (which I know I am )

here's the exact filename file:/home/knoppix/amsn can someone be not lazy enough to tell me step by step where d o I go

example dont tell me start up your favorite shell .... cause frankly I don't know where/ a shell is

Link to comment
Share on other sites

using knoppix & kde what i read somewhere above... somewhere in the programs-menue there should be something named "konsole". or simply right-click on your desktop and choose "run program" from the dropdown. type in "konsole" and hit return. you will end up in a console-window with the prompt in your home-dir (which is the right one i think). then take the steps markjensen outlined in his post.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.