1 Answer - Sort by: Date | Rating
A directory in Linux can simply be created by using 'mkdir' command. So to create a new empty directory named shaam, we will simply write . And that's all. A new empty directory has been created by pressing enter after writing this command.
Now if we want to copy directories to some other place, we will use 'cp' command. This 'cp' command is used to copy files actually so, in order to copy directories we must have to use a parameter '–r' with this command. This '–r' means to copy recursively. To move or rename the directories 'mv' command is used. If the destination directory does not exist, then by either 'cp' or 'mv' command a new directory will be created. Now to delete a directory we can use either of these commands. 'rmdir' or 'rm', but in case of rm we must have to use –r as a parameter while removing a directory. For example; if we want to remove a directory named shaam we can wither write or , after pressing enter this directory will be removed with all of its contents. And if we use –ir as a parameter with 'rm' command, then we will be prompted before the deletion of each file existing within the directory.
Now if we want to copy directories to some other place, we will use 'cp' command. This 'cp' command is used to copy files actually so, in order to copy directories we must have to use a parameter '–r' with this command. This '–r' means to copy recursively. To move or rename the directories 'mv' command is used. If the destination directory does not exist, then by either 'cp' or 'mv' command a new directory will be created. Now to delete a directory we can use either of these commands. 'rmdir' or 'rm', but in case of rm we must have to use –r as a parameter while removing a directory. For example; if we want to remove a directory named shaam we can wither write
0
0
- Which Two Of The Following Are Common Linux Super-servers? (Choose Two.)
- I Am Computer Illiterate I Thought Me Be Related To Partitioning Which Doesnt Download Linux Operating System?
- What Did The Apache Wear?
- What Was Te Name Of The Apache Chief?
- How Much Is The Operating System Being Used By Individuals On Personal Computer?
- What Are Three Main Structural Sections Of A Linux File System?
- How To Start The Autocad Design Means How To Give The Commands First?
- How To Take Backup In Linux Stepbystep?
- What Is Two Functions Of A Linux Operating System?
- Can You Tell Me A Little About The Security On Unix And Linux? Since Linux Is Free, Is It Prone To Be More Viruses?
- Who Where The Apache Enemies?
- Linux Is An Operating System Similar To Unix That Runs On Different Computer. Discuss Its History?
- What Is An Interface On A Linux System?
- Can I Install Illustrator Cs3 On Linux System?
- Difference Between Components And Parts Of Linux Os?
- Is Components And Parts Of Linux Are Same?
- Is There A DVD43 For Linux?
- What Is Common In Linux?
- If You Have Installed Linux And You Want To Uninstall It...then It Shows The Grub Loader.....what Is The Command For Grub Loader?
- Were Did Apache Get Water?
- Samba Server And Other Related Linux Servers?how They Began And Their Functioning Completely?
- What Are The 200 Command Of Red Gat Linux?
- Solaris How Much Does It Cost?
- Which Configuration Required To Install Linux?
- Where Are Apache Quads Manufactured?
- How To Make And View A Directory's Contents Inside The Linux?
- Do You Have A Copy Of The 2009 Directory?
- How Can We Create Shortcut Of MY Computer At Desktop In Suse Linux?
- How Do I Remove My Home Address From Yahoo Members Directory?
- How To Create A Good Copy That Sells?
- Is There A Free Or Very Inexpensive Program To Create A Backup Copy Of A Copyrighted DVD Movie?
- How Can I Copy/move My Database (SQL/Oracle) From One PC To Another?
- How To Remove Dvd Copy Rights?

New Comment - Comments are editable for 5 min.