Home / Software / BSD, Linux, and Unix / Absolute Path
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Absolute Path  (Read 2507 times)
bryceray1121
Guest
« on: February 25, 2008, 08:50:37 PM »

I am attempting to find the absolute path of my server.  I was told i can do this through ssh.  When using ssh what command can I use to find the absolute path? also, how do i format the command? thanks.
IP logged
init6
Guest
« Reply #1 on: February 26, 2008, 12:00:53 PM »

You need to be more specific about what you are attempting to do.  Saying absolute path to a UNIX person will be taken as the following:

Absolute path to a directory or file OR the fully qualified reference to access a remote system.

/usr/local/bin/ssh  < -- absolute path from "/" to the ssh command as compared to relative path.
cd /usr/local ; bin/ssh < --- bin/ssh is relative to your present working directory of /usr/local

You wrote "my server" and ssh which implies a remote system.  Absolute qualification for a system would be something like the following for scp

[userid@]<server[.FQDN]>:/absolute/path/to/whatever

example:  /usr/local/bin/scp userid@remoteserver:/home/userid/file file

If you need your system information type the following commands:

hostname or uname -n

If you need the absolute path of your current directory location type the following:

pwd


IP logged
Pages: [1] - (Top) Print 
Home / Software / BSD, Linux, and Unix / Absolute Path « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.114 seconds with 18 queries.