LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-18-2011, 12:39 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Rep: Reputation: 31
Screen command not working !


I am using cent os 5 and i am remotely connected with it using putty.I want to use screen command but when I type the command

Code:
[root@test-proxy]# screen
-bash: screen: command not found
If I search the screen command using fine command
Code:
[root@test-proxy]# find / -name "screen" -print
/usr/share/terminfo/s/screen
If I enter into the said above dir and type screen it say command not found.

kindly guide me how can I use screen command ?
thanks
garden
 
Old 03-18-2011, 12:40 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
You need to install it first.

Code:
yum install screen
 
Old 03-18-2011, 01:00 AM   #3
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Rep: Reputation: 21
you dont need to use "find" for finding the binaries. "Which" command will tell you where the binary is if it is installed.
Quote:
[xkinved@einbalx0006 ~]$ which screen
/usr/bin/screen
is the output from my linux box
 
Old 03-18-2011, 01:05 AM   #4
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
Thanks for guiding me. If find has searched screen then why I may download ?
Kindly guide me the link from where I may download and install screen for my Linux cent os 5 .
thanks
 
Old 03-18-2011, 01:08 AM   #5
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
by using which command I find the output as.

Code:
[root@test-proxy s]# which screen
/usr/bin/which: no screen in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@test-proxy s]#
thanks
garden
 
Old 03-18-2011, 04:59 AM   #6
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
Well I have download screen-3.7.4.tar in my cent os. I have also untar screen.The thing which I need guidance that where should I install it ? After /usr/local what will be the next directory location to install it ?

Code:
[root@ test-proxy ]#  ./configure@--prefix=/usr/local/
then will be

# make all
and at last
# make install

Thanks for guidance,
garden
 
Old 03-18-2011, 05:01 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Why aren't you using the package manager as indicated by macemoneta?
Code:
yum update
yum install screen
That is, if you've configured your yum repositories correctly.

Kind regards,

Eric
 
Old 03-18-2011, 05:06 AM   #8
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by gardenair View Post
Well I have download screen-3.7.4.tar in my cent os. I have also untar screen.The thing which I need guidance that where should I install it ? After /usr/local what will be the next directory location to install it ?
It will get installed automatically where ever it is supposed to:
All you have to do is to:

tar -xf screen-3.7.4.tar
cd screen
./configure
make
sudo make install
updatedb
 
  


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
Screen Command is not working with HLDS commands kyro_02 Linux - Newbie 1 07-05-2009 10:25 PM
help getting screen-profiles working with screen steve51184 Linux - Software 2 06-02-2009 11:30 AM
./configure command isn't working in command line jumpmansbro Linux - Newbie 20 01-22-2009 09:29 PM
How do I kill a screen from command-line if I know the screen name? CrewXp Linux - Software 6 08-27-2005 11:35 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM


All times are GMT -5. The time now is 12:58 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