Next time, use :
cd -and it will go back to the previous directory.
The abbreviation of home directory is
~/
Go back to home directory of the current user :
cd ~/
Copy the text file current.txt to home directory :
cp current.txt ~/
Also,
cd
will change the current directory to home directory.
By the way :
pwdwill display the current path, which also means Print Working Directory.
Cheerio !!!
1 comment:
very useful thank u
Post a Comment