Sunday, April 28, 2024
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 129409  / 2 Years ago, sun, may 1, 2022, 12:19:34

I am using Precise pangolin. As far as I know, commands like



cd..


or



cd-


are used to browse through folders in the terminal.



But whenever I enter one of this commands, it gives an error saying no such command or filename found. Do I have to perform any additional task before I use commands involving cd?


More From » command-line

 Answers
1

Common Commands



View Directories: ls



The ls (LiSt) lists files in different colors with full formatted text



Create Directories: mkdir (directory name)



The mkdir (MaKeDIRectory) command will create a directory.



Change Directories: cd (/directory/location)



The cd (ChangeDirectory) command will change from your current directory to any directory you specify.



Copy Files/Directories: cp (file or directory name) (to directory or filename)



The cp (CoPy) command will copy any files you specify. The cp -r command will copy any directories you specify.



Remove Files/Directories: rm (file or directory name)



The rm (ReMove) command will delete any filename you specify. The rm -r command will remove any directory you specify.



Rename Files/Directories: mv (file or directory name)



The mv (MoVe) command will rename/move any file or directory you specify.



Find Files/Directories: locate (file or directory name)



to go back to previous directory: cd ..(cd [space] ..)



just for extra information



source from http://linux.about.com/od/ubuntu_doc/a/ubudg24t7.htm


[#35979] Monday, May 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
peafowkes

Total Points: 356
Total Questions: 102
Total Answers: 117

Location: Lebanon
Member since Tue, Oct 12, 2021
3 Years ago
peafowkes questions
;