BALABHASKARARAO / linux-notes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linux notes

  • when we see "#" that use is "root user"
  • when we see "$" that use is "non root user"

non root user also perfrom like same root user if we provide

sudo -i --> swith root user

apt update --> to update Operating system

mkdir --> to creat directory

  • vi filename.txt --> to create filename

  • tail -n 2 filename.txt --> to print last two lines

  • head -n 2 filename.txt --> to print "top" two lines

  • ps -ef | grep ubuntu

About