LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2006, 03:16 PM   #1
LeonK
LQ Newbie
 
Registered: Dec 2006
Distribution: Redhat 9
Posts: 7

Rep: Reputation: 0
Question Stuck on a command


Hello all, i am very new to linux and already figured somethings out while trying to install my game onto a remote server. I only have acces to a webadmin screen, but use putty to connect.

i am trying to install BF2 with the PoE2 mod onto the server, but now im stuck on a command "screen"

This si the full command:
Code:
[poe2@gamesrv03 bf2]$ screen -dmS PoE2
When i enter that command i get a error: -bash: screen: command not found.

The link to the walkthough (incase its needed): i wish to post but im not allowed because i dont have 3 posts... I'll edit this when i do have the three posts needed to post links......

Now i am not sure what the command does, so its quite hard to find a solution on it.
The linux distro i have is Redhat 9.0.

If more information is needed just let me know, im not sure on what else i need to post.
 
Old 12-02-2006, 04:02 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Here is the description of the command:
http://www.oreillynet.com/linux/cmd/...?path=s/screen

It's not on my machine, but it is in the Ubuntu repository. I am sure that it is out there somewhere for RH9
 
Old 12-02-2006, 05:21 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Easy peasy - screen isn't installed on the computer you're trying to run it on. Hence bash reports that the command 'screen' is not found
 
Old 12-02-2006, 05:53 PM   #4
LeonK
LQ Newbie
 
Registered: Dec 2006
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
So is it a piece of software i can install? Or does it meam screen as in viewable item which display's your data?
 
Old 12-02-2006, 06:30 PM   #5
g0es
Member
 
Registered: Dec 2002
Location: Wisconsin
Distribution: Ubuntu/Gentoo
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by Komakino
Easy peasy - screen isn't installed on the computer you're trying to run it on. Hence bash reports that the command 'screen' is not found
Or screen isn't in the path. try running "find / -name screen". You will have to be root or you will have to use sudo. If you have it it will showup then
 
Old 12-02-2006, 06:30 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Screen is indeed a piece of software (a very nice one, too) that can
be quite easily installed. Most distributions will have downloadable
packages for their own packaging system.

On that note: it always helps to tell people here which distro you're
using - makes support much more targeted.

Cheers,
Tink
 
Old 12-03-2006, 06:17 AM   #7
LeonK
LQ Newbie
 
Registered: Dec 2006
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by LeonK
The linux distro i have is Redhat 9.0.
I did say which distro i had. I dont wanna look like the a smartass, but i know computers well enough, been working with them for over 10 years building and all the like, i only never gooten into linux.. All i have worked with in the past is windows..

g0es, ill try that command, thanks.

***edit***

When i run the find command i get this: /usr/share/terminfo/s/screen

Last edited by LeonK; 12-03-2006 at 06:19 AM.
 
Old 12-03-2006, 06:22 AM   #8
LeonK
LQ Newbie
 
Registered: Dec 2006
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
Well i think i found the piece of software through APT Get on my webmin area.. Im now going to try if it works. Thanks for pointing me in the right direction.
 
Old 12-03-2006, 10:57 AM   #9
LeonK
LQ Newbie
 
Registered: Dec 2006
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
Got the "screen" software installed... Now following directions, and get stuck on the command "screen -ls poe2/" Which should show the process PID..

Code:
Step 14: Start up a screen session as the poe2 user


[root@gamesrv03 bf2]# su - poe2

(Do some setup stuff for screen to work with our setup)
[poe2@gamesrv03 bf2]$ echo "multiuser on" >> /var/bf2/.screenrc
[poe2@gamesrv03 bf2]$ echo "acladd root" >> /var/bf2/.screenrc

[poe2@gamesrv03 bf2]$ screen -dmS PoE2
[poe2@gamesrv03 bf2]$ ln -s /var/bf2/.screen /tmp/screen-poe2

(Detach from the screen session - holding down CTRL, hit a, then hit d)
[poe2@gamesrv03 bf2]$ CTRL A D
[root@gamesrv03 bf2]#


Step 15: Attach to the poe2 screen session and set the proper path for mono binary


(List the screen session for user poe2 while logged in as root)

[root@gamesrv03 tmp]# screen -ls poe2/
There are several screens on:
32012.PoE2 (Multi, detached)
2 Sockets in /tmp/screen-poe2.

[root@gamesrv03 bf2]#
these are the steps were im getting stuck. the original writer of the tutorial i havent seen on the PoE2 forum ina long time, and i havent got any reply's there also were i asked for help, so i help people here wil be able to help me out.. Im learnign the hard way like this, but its better then nothing..

And since i can post links now also i will also give the link to the full tutorial im following.
 
Old 12-03-2006, 07:18 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Just FYI, RH9 is very old & no longer supported. That line of distros was replaced by the RH Fedora Core series, which is now up to v5 (or 6?) iirc.
You might find things will go smoother (not to mention be able to get eg security updates) if you move up.
 
Old 12-04-2006, 12:56 PM   #11
LeonK
LQ Newbie
 
Registered: Dec 2006
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
Debian 3.0 (Woody)
Debian 3.1 (Sarge)
RedHat Fedora Core 2
RedHat Fedora Core 3
Mandriva LE 2005 (Mandrake)
RedHat 9.0

These are the distro's i can choose between, which would be the best for me then? A beginner Linux User.. And would the commands used in the tutorial be the same? or are there varietys to it?
 
Old 12-04-2006, 02:13 PM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by LeonK
Debian 3.0 (Woody)
Debian 3.1 (Sarge)
RedHat Fedora Core 2
RedHat Fedora Core 3
Mandriva LE 2005 (Mandrake)
RedHat 9.0

These are the distro's i can choose between, which would be the best for me then? A beginner Linux User.. And would the commands used in the tutorial be the same? or are there varietys to it?
What is it about your situation that has you limited to obsolete distros? More modern versions of all of these are available free.

(I think) Debian 3.1 is the closest to being current.
 
Old 12-04-2006, 02:35 PM   #13
g0es
Member
 
Registered: Dec 2002
Location: Wisconsin
Distribution: Ubuntu/Gentoo
Posts: 38

Rep: Reputation: 15
My guess is that these systems are hosted and he has his choice of distros.
 
Old 12-04-2006, 03:51 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by LeonK
Debian 3.0 (Woody)
Debian 3.1 (Sarge)
RedHat Fedora Core 2
RedHat Fedora Core 3
Mandriva LE 2005 (Mandrake)
RedHat 9.0

These are the distro's i can choose between, which would be the best for me then? A beginner Linux User.. And would the commands used in the tutorial be the same? or are there varietys to it?
Sarge for sure.


Cheers,
Tink
 
Old 12-05-2006, 11:23 AM   #15
LeonK
LQ Newbie
 
Registered: Dec 2006
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
Yep, VPS server, so im stuck with these distro's...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck in Command Line dfego Slackware - Installation 6 07-05-2006 04:14 AM
Stuck on command Promp after change of Graphics card hkhiroya Debian 3 04-08-2006 05:14 PM
Stuck on Command Prompt hkhiroya Debian 9 03-16-2006 01:21 PM
I'm stuck at a command prompt logiplex Linux - Software 2 09-08-2004 07:02 PM
Newbie: Stuck at command line. BoardinBum Slackware 9 08-14-2004 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration