'dir <directory>' Read the 'dir' manual with the command 'man dir'.
NOTE: The 'ls' command is more commonly used instead of 'dir'.
Below are some examples.
$ dir
Desktop Documents Music Pictures
$ dir Documents
test.txt test.odt test.pdf
$ dir /
bin etc lib lost+found opt run srv usr
boot home lib32 media proc sbin sys var
dev initrd.img lib64 mnt root selinux tmp vmlinuz
1.go to directory
CD <dir name>
2.ls
Address of that directory.
Example: dir c:\
dir a:\
dir c:\windows
dir "c:\documents and settings"
This command lists the contents of the current working directory in a long listing format, including normally hidden files.
This command lists the contents of the current working directory in a long listing format, including normally hidden files.
The command 'pwd' will identify the full path of the present working directory.
The command pwd displays your current/present working directory.
The pwd command prints the working directory. The working directory is the directory you are "in", where operations on files that don't have an absolute path specified will be performed. For instance, if my working directory is /home/username/stuff, then the command echo "test" > test.txt would place the file test.txt in that directory.
the command 'cd ~' will get you there .
Assuming you had a file called 'file' in the current working directory it would try to guess what type of file it is, based on its contents.
Use the 'cd' command without any target; that always puts you in the home directory which becomes by default the working directory.
All you need is the PWD(Print Working Directory) command, this will list your current directory absolute path All you need is the PWD(Print Working Directory) command, this will list your current directory absolute path
cd /lib/modules/$(uname -r)
Use the command: ls z* for those files in your current working directory.
You change the current working path directory in Linux by issuing the cd command, followed by the directory you want to change to. For example:cd /dev/inputwould take me to the that directory.