Linux Commands for INFORMATION Gathering

Navigate file system - Linux Commands

Created: 2022-07-17
Tags: #fleeting


free -> displays free amount of memory

df -> displays free space on hard drive

pwd -> print working directory

  • print the current location of folder/directory

whoami ->

  • prints the user name

id

  • prints lots of info such as user name, user id and such

uname -a

  • prints all the system information such as Os used, Date/Time, CPU-Architecture etc..

ps -eF

  • Shows log-in users, CMD used like is it bash or smtnh

Know more details about a file

  • file notepad.txt
  • notepad.txt: ASCII text, with no line interaction

References