The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
KDE and startx congo UNIX Desktop for Dummies Questions & Answers 1 10-21-2006 03:23 PM
startx / xterm gefa UNIX for Advanced & Expert Users 0 04-21-2006 09:30 AM
error startx with debian pascalbout Linux 0 03-20-2006 07:26 AM
Help with FreeBSD and startx. cosmotron UNIX for Dummies Questions & Answers 3 12-18-2004 02:31 PM
startx, xauth msg and Solaris 8 rpeteg UNIX for Dummies Questions & Answers 4 12-04-2001 07:25 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-03-2001
Registered User
 

Join Date: Aug 2001
Posts: 20
StartX

Hi guys

I'm having a slight problem. Every time I run the StartX command from my csh, it just says cannot access terminal. Can anyone tell me why this is and what it means?

Thank you

hellz.
Forum Sponsor
  #2  
Old 09-04-2001
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
Can you give more details?
What OS? How are you accessing that machine...
from the console? from a terminal? from Windows
machine?
  #3  
Old 09-04-2001
Registered User
 

Join Date: Aug 2001
Posts: 20
hi mate,

Thanks for the reply. I'm sorry I've been so vague with every question I've asked but I've kind of been set a 'Linux Challenge', and although I'm allowed to ask for help, I can't be incredibly specific (which is frustrating the hell outta me.).

Apparently, StartX has been disabled, so my situation is this. A Linux environment (using a C-shell.) has been completely tailored for me to solve a challenge. I'm not allowed to use any scripts, I have no permissions on practically everything as I'm supposed to use my observation skills to determine my goal.

Now here's my problem. Whenever I type "echo" with anything after it, it will ALWAYS output:

$input

So even if I try "echo 'Hi, how are you?'", it would always output: $input. I'm pretty certain that my goal lies within this variable, but it won't let me print the damn thing. I've tried cat $input, print $input, print($input), but nothing happens (most commands have been disabled too to be incredibly restrictive.)

Is there a way to display the contents of a variable, without the use of any scripting, and without the cat/print commands?

Thanks guys, sorry to harp on about this.

hellz.
  #4  
Old 09-04-2001
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
sounds to me like you're not even running the
"real" echo command. What do you get when
you run: which echo

I'm wondering if you're "environment" has it
(and other commands) aliased to somthing else.
In any case, it sounds like you're being tested
so I'm not sure how much info. I should give
  #5  
Old 09-04-2001
patvdv's Avatar
Registered User
 

Join Date: Jul 2001
Location: Belgium
Posts: 83
Maybe double substitution could be an idea? Try using eval and see what happens, that is if eval works...
__________________
Patrick Van der Veken - UNIX consultant (c) 2001 - 2001 http://www.baanboard.com - http://www.ux-core.com
'True strength lies in gentleness' - Irish proverb
  #6  
Old 09-04-2001
Registered User
 

Join Date: Aug 2001
Posts: 20
hi mate

I've run "which echo" but it comes up with nothing. It's just a simulation, there are no marks for this or anything like that. It's more of a "test project" to see if linux newbies (not computer newbies.) are able to investigate and find holes in systems by doing their own research.

I mean with regards to Linux, I really don't know anything, and most of the things I've read up on have been disabled which is why I've resulted to asking questions in here in the hope I can find something. I totally apologise if this is the wrong place to post in but I just can't find anywhere else that will help.

Thanks again

hellz.
  #7  
Old 09-04-2001
Registered User
 

Join Date: Aug 2001
Posts: 20
eval didn't work

hellz.
Google The UNIX and Linux Forums
Closed Thread

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0