Skip to content

Latest commit

 

History

History
30 lines (29 loc) · 787 Bytes

File metadata and controls

30 lines (29 loc) · 787 Bytes
  • Basic commands cd - to navigate between dir mv - to move or rename file cp -copy file pwd - current directory ls - lsit all files ls -a - list hidden files ls -l - list the permissions of file mkdir - make dir touch - create file whoami - display user name cat - edit file

  • adding user or group useradd - add user in environment useradd -m - add suer in home dir also groupadd - add new group usermod - to modify the permissions chown - change owership chgrp - change group ownership ssh-keygen = genrate new keys su - to with users

  • file permissions chmod - change permissions

  • to know about systems systemctl - to manage service on linux like start,stop,restart,reload

  • network commands ipcongig - to check all ip address ping - send ICMP requests dig - Dns lookups in nslookups