# Understanding Default Terminal Commands
This is very small topic to just introduce some specific symbols before introducing commands.
It will help you for better understanding.
# Path & its type
Path:- A path, the general form of the name of a file or directory, specifies a unique location in a file system. A path points to a file system location by following the directory tree hierarchy expressed in a string of characters in which path components, separated by a delimiting character, represent each directory. (Source - Wikipedia )
This is very small topic to just introduce some specific symbols before introducing commands.
It will help you for better understanding.
For demonstration, i am using " Cygwin64 Terminal " software which helps you to run Linux commands in Windows P.C
you can also use Linux Terminal(any distribution).
shanti1 @ shanti2 : ~ $
shanti1 ® Username
shanti2 ® Computer Name – used to identify the computer over the network.
@ (at the rate) ® Simply means user(shanti1) is working on a computer named (shanti2) over the network.
: ( colon )® Simple Separator
~ (tilde sign) ® Shows that user working in home directory – if you change the directory, this sign will vanish.
$ (doller) ® Suggests you are working as a regular user in Linux.
Note - # (pound ) sign for root or master user displayed instead of $ (dollar sign).
.
# Path & its type
Path:- A path, the general form of the name of a file or directory, specifies a unique location in a file system. A path points to a file system location by following the directory tree hierarchy expressed in a string of characters in which path components, separated by a delimiting character, represent each directory. (Source - Wikipedia )
Eg. – For download folder
Windows C:\documents\user\download
Linux - /home /user /downloads
There are two kinds of path -
1- Absolute Path -- An absolute or full path points to the same location in a file system, regardless of the current working directory. To do that, it must include the root directory.
2- Relative Path -- A relative path starts from some given working directory, avoiding the need to provide the full absolute path.
Windows C:\documents\user\download
Linux - /home /user /downloads
Note – In Windows, backward slash (\) is used, but in Linux, forward slash (/) is used.
There are two kinds of path -
1- Absolute Path -- An absolute or full path points to the same location in a file system, regardless of the current working directory. To do that, it must include the root directory.
2- Relative Path -- A relative path starts from some given working directory, avoiding the need to provide the full absolute path.
Comments
Post a Comment