Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Linux Commands

  • uname -a
    • to obtain information about the operating system and hardware on which it is running.
  • dpkg --print-architecture
    • to obtain information about architecture
  • cp source target
    • to copy file from source to target ex - ( cp /home/user.txt /usr/share )
  • pwd
    • stands for the present working directory
  • Ubuntu : apt list --installed Debian : dpkg list --installed
    • used to check for installed packges.
  • Debian : dpkg --get-selections | grep pkg-name
    • to search for specific package ex - ( dpkg --get-selections | grep postgres )
  • apt-get update
    • use to update packges
  • apt-get upgrade
    • use to upgrade packages
  • sudo lshw -C display
    • use to get display information
  • get all services list
    • sudo service --status-all
  • tail logs
    • sudo tail -f fileName.txt

About

List of some important commands in Linux ( Ubuntu ).

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors