LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to access script (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-access-script-4175512861/)

AnkitDewang 07-31-2014 10:23 AM

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...

szboardstretcher 07-31-2014 10:40 AM

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

lleb 07-31-2014 11:20 AM

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.

Firerat 07-31-2014 11:51 AM

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

lleb 07-31-2014 06:31 PM

now thats a nice trick firerat.


All times are GMT -5. The time now is 02:29 PM.