How to browse to this folder ?
How to browse to this folder ?
~/ I'm using WinScp. |
Code:
cd ~/ |
Quote:
since we already have a folder "/" .... now you are adding a ~ just before ....and it becomes home directory....this is quite cumbersome ....is there any meaning why its like this ? |
no, you misunderstood I think
~ itself means the current user's home dir if it was the first char (for example in: cd ~) ~name means the home dir of user named "name". see man bash, tilde expansion You can add a / afterward if you want to say: it is definitely a directory (not a file or link or something else), but you can ignore that). |
Quote:
|
The ~ as explained is a shortcut for the home directory of the user currently logged in. Unless your using the command line it really does not make sense in the WinSCP GUI environment. Are you using the explorer or Norton Commander interface?
Typically by default when you log in and you see the interface running you will be in your users home directory. If you change directories you can click on the little home icon at the top or the ctrl+h keys to go back. The linux directory structure is often referred to as a tree with / being at the top. You can see the tree if using the explorer interface in the left pane. The users home directory is /home/user name. |
Quote:
|
All times are GMT -5. The time now is 05:11 PM. |