To copy a file just use the cp ssh command. The ls -r command is used to see sub-directories recursively.ġ3) List all folders in directory with details ls -alh How to Copy files/folders with Putty Commands If you wish to see a directory’s contents with file sizes just type ls -hġ1) How to see sub-directories recursively ls -r Will return all content of the folder /home.ĩ) Show me all files in a directory ls -a Using the ls command in a folder will display all it’s content. Using this command you will remain in the same directory you were.Ībove command will navigate two steps back from current directoryĪbove command will navigate to the previous directory.Ībove command will navigate to the home directory on your server.Ībove command will navigate to root. The cd command is used to navigate into a specified directory on your server.Įxample: cd /home (moves you into the home folder) 1) How to find out where you are, the pwd command shows you present working directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |