cd
'cd dirname' (without the quotes) takes you to a directory named dirname if it exists in your current location.
'cd..' takes you up one position to the parent directory to the one you're in now.
'cd\' takes you all the way back to the root directory of the current drive (like c .
You can navigate a complete path in one command. For instance, if you wanted to get to the directory named files that was in one named main which was in one named top, you could type:
cd\top\main\files
then if you typed:
cd..
you would end up in the 'main' subdirectory.
In my Ubuntu terminal, I would type one of these two example commands (there are other commands, but I tend to mainly use the two below).cd change to home-directorypwd means display the path of the current directoryNote: pwd stands for print working directory.
Essentially, all computer operating systems (OS) are command driven. A command is digital "to do" list issued to the OS brain (kernel) that commands it to utilize the computer hardware and/or software to accomplish something. In today's operating systems, like Windows 7 or Snow Leopard, you can use your mouse or keyboard to kick off a command in the background. For instance, clicking on "New Folder" in Windows Explorer is a command to create a new folder. Most often though, when people refer to a "Command-Driven" OS, they mean something like DOS or Unix, where you must type in an actual keyword command into the interface. Each OS has a set of commands that it recognizes, like the command "del" is a command to "delete" in DOS. With the invention of visual user interfaces (sometimes referred to as GUIs) the need for entering OS specific text commands has become obsolete, now we mostly use application menus and mouse clicks.
MS-DOS ended with Windows NT. It used file command.com to interpret all DOS commands. Win 2000, XP, Vista use a DOS Shell which emulates DOS but is not really DOS.
Recovery Console
You can't technically open MS DOS in notepad, but you can make files that MS DOS can use in notepad. For instance, you can create SYS, INI, BAT and others in notepad to make the computer do something, but MS DOS it self is dead. DOS will never die because of what it stands for. "Disk Operating System" You need a disk to run anything. Your hard drive is nothing more than a bunch of high tech cds spinning your files around.
To delete directory and sub directory in single command, use "deltree" command..
You can use "xcopy" command. mkdir - to create a directory. move - to move one or more files in a new location.
In DOS, you can delete files only by delete command. Use delete command as follows:C:\> delete For example: delete rajesh and then press enter..To remove a directory (Folder) use following command:C:\> RD For example: rd documents and then press enter..Note: Please make sure that directory is empty. You can only delete empty directory with rd command..
CD Example: CD <sub-directory> Use CD .. to go up a directory. You can also enter a full path to go straight to that directory. Eg: CD windows/system/etc
They are different languages, so you need to use a different word with different syntax to do the same thing. For example, to display the contents of the current directory, the command in MS-DOS is dir, but in UNIX it's ls.
cd stands for change directory. It's the most obvious command to use.
Because CD is short for "Change Directory"
cd /lib/modules/$(uname -r)
A parameter is a command-line switch or an argument to a function. We use parameters to specify the input variables for the commands or functions we invoke. For instance, when we want to list the contents of a directory or folder, we have to pass the directory or folder path to the appropriate command so that it knows which directory or folder to process.
PWD Although pwd will tell you where you are it won't change back to your home directory. For that, use the 'cd' command without any parameters
To go back to the root (beginning) directory: cd\ To go to the directory above you: cd.. To go a directory below you: cd directoryname Of course, after you type the command, you have to hit the enter key.
The CHGRP command is used to change the ownership of a specific file or directory. More information about this command can be found on the IBM Help Index website.