also @ TechSpot: TechSpot Giveaway: Win an Acer Timeline 14" Laptop

Read on full site | Join TechSpot! (it's free) | Bookmark / Share this


Quick Question RedHat 9

XtR-X
08-07-2003, 01:42 AM
I'm having trouble extracting and executing bin files. I'm trying to do it from the terminal and I have all the directories set properly. I try to execute/extract/run the files and and it says it wasn't found! But then, I open up the root folder and it's all there! WTF. I'm logged in as root and I went into the properties and made all the folders and files chmod'd 777, since I can't do it in terminal.

I'm in [root@localhost csserver]# and that's where all my files are! I'm like wtf!

What am I doing wrong? What do I need to do to get the contents of the .bin files working?

HELP! Urgent plz!

XtR-X
08-07-2003, 02:14 AM
Acutally, I discovered an alternative and somehow I made a new directory aside to the directory root, weird.

Nvm, I think I've got it.

Ad
08-07-2003, 02:14 AM

Nodsu
08-08-2003, 03:50 PM
For security reasons unixoid systems don't run things in the current directory like DOS. So if you want to run something from the non-PATH directory you are at, you need to do "./proggy.bin" instead of just "proggy.bin"

Phantasm66
08-08-2003, 03:56 PM
Originally posted by Nodsu
For security reasons unixoid systems don't run things in the current directory like DOS. So if you want to run something from the non-PATH directory you are at, you need to do "./proggy.bin" instead of just "proggy.bin"

Correct - because the present working directory is never in your $PATH environment variable.

This is because I would write a malicious program and then call it "ls" and then put it in your home dir, when you opened a terminal window, and it defaulted to your home dir as present working directory, I would have tricked you into running it if pwd was listed early enough in your $PATH.

Post a reply, see related topics & more

 Top Technology News

Weekend Open Forum: Your next hardware upgrade will be...?

4-Way Intel H55 Motherboard Shootout

Tech Tip of the Week: Customize Your Windows 7 Start Menu Button

MSI unveils new business-minded notebook, P600

London hospital opens to Web-addicted "screenagers"

Nintendo: DS rolling out to Japanese schools

Amazon, others to use new color E-ink displays?

HP Slate coming with Atom and Flash in June for €400?

More Tech News

 Software Downloads

Google Chrome 5.0.356.0 Beta

ChrisTV Lite 5.51

DVDStyler 1.8.0.2

Miranda IM 0.8.17

RemoveIT Pro XT - SE 19.03.2010

RemoveIT Pro v7 Enterprise 19.03.2010

RemoveIT Pro v7 Ultra 19.03.2010

More Downloads



Copyright © 1998-2010 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.