Files cmd
1) Go to the Dash and type terminal
or Open Terminal : Ctrl + Alt + T
2) maha@home: ~$
maha = username
home = computer name
: = separator
~ = root directory
$ = regular user
# = root user(admin)
Absolute Paths:
/home/user/downloads
Present Working Directory : pwd
this cmd return out : /home/guru99
Change directory : cd \ myfolder
Navigating to home directory : cd.
or cd ~
Moving up one directory level: cd ..
Moving to root directory: cd /
The root of the file system in Linux is denoted by ‘/’
Type ‘cd /’ to move to the root directory.
Comments
Post a Comment