LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-31-2014, 10:23 AM   #1
AnkitDewang
LQ Newbie
 
Registered: Jul 2014
Location: India
Posts: 6

Rep: Reputation: Disabled
How to access script


Hello Everyone...

How can I access the scripts over the unix server ???
I just want to view that particular script.
Kindly suggest...
 
Old 07-31-2014, 10:40 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,185

Rep: Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586Reputation: 1586
Generally, on windows, you will grab Putty from: http://the.earth.li/~sgtatham/putty/...-installer.exe

Then open it, and type in the IP address of the server you want to connect. Then use the command:

Code:
cat /whatever/your/path/and/filename/is
Visual representation in the SSH section of this page: http://www.dedoimedo.com/computers/r...ows-linux.html
 
Old 07-31-2014, 11:20 AM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
you might want to add the | less command to the end of the cat:

ex:
Code:
cat /path/to/whatever | less
this allows for the terminal to stop at each full page of data to be displayed. making life a bit simpler on the reader. it also allows for searching via /foo were foo is the search item then n will take you to the next iteration of the search foo.
 
Old 07-31-2014, 11:51 AM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
This is the same as lleb's , but 'direct'

Code:
less /path/to/whatever
this means that should you need to, you can edit the file ( by 'typing' v )

"less" will then launch the default console editor.

But you will probably want to 'read up' on some of the Linux basics before you go editing files
 
1 members found this post helpful.
Old 07-31-2014, 06:31 PM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
now thats a nice trick firerat.
 
  


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
Startup script access right fhleung Debian 5 07-24-2007 08:03 PM
Script for SSH access ShaneAc Linux - Security 9 03-10-2007 10:32 AM
Root access in a script chichibabin Programming 3 07-27-2004 04:01 PM
User access script mrhyde Linux - Security 9 04-18-2004 02:52 AM
KPPP access script M3xican Linux - Software 1 11-15-2002 09:14 AM


All times are GMT -5. The time now is 02:36 AM.

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