Command Line Fundamentals
can not survive without knowing these basic commands
print working directory ; where am I ?
which user i am currently logged in with
change directory
go up one directory / go back one directory
jump to home dir
go to last directory
[ concept of absolute path and relative path ]
security
security
to delete recursively
create a file named as hi.txt and put contents inside quotes inside it
mv used to rename files as well
is c opy paste
is cut paste
shark.txt looks / search eerywhere for specific file name
to change password by default of logged in users
passwd shark tochange passwrd of shark nameduser account
to read file contents ; cat means to concat
Linux file permissions
r ->4 w-> 2 x->1
to add new user named shark
Import files :
does not stores password ; only stores users n account information
stores password in hasehd format look into details of both files
Last updated
Was this helpful?