40 Basic Commands On Complete Linux System Operation With Syntax and Functions

Learn Commands Basic Commands On Complete Linux System Operation With Syntax and Functions

Linux is a free open source operating system software to be distributed under the GNU license. Linux operating systems are known as Linux distributions or Linux distributions include support software such as web servers, programming languages, databases, desktop displays such as GNOME, KDE and Xfce also have office suite suites (office suite) such as Open Office.org, KOffice, Abiword.

Once we know the history and understanding Linux, this time we will learn the basic commands of Linux. Because to execute on many Linux applications using basic commands. Here are some basic commands found on Linux.
Basic Linux Commands

  1. sudo su
    Serves to login as root / highest user
    syntax: sudo su
  2. root
    Serves to login as root
    syntax: root
  3. login
    Serves to login as another user, but must be root first to run this command bias.
    Syntax: login nama_user
  4. cd (change directory)
    Serves to switch directories / folders
    syntax: cd address_directory
    example: cd / etc / network
  5. pwd
    Serves to show which directory our position is
    syntax: pwd
  6. ls (list)
    Serves to view the contents of a directory
    syntax: ls
  7. mv (move)
    Serves to move, cut or rename files
    syntax: mv / directory / nama_file_asal / nama_file_baru
    example: mv /etc/file1.txt file2.txt >>> rename file
    mv /etc/file1.txt / var / www >>> cut file
  8. mkdir (make directory)
    Works to create a new folder
    syntax: mkdir nama_folder
    example: mkdir folder1
  9. rmdir (remove directory)
    Function to delete folder
    syntax: rmdir nama_folder
    example: rmdir folder1
  10. touch
    Works to create new files
    syntax: touch filename
  11. rm (remove)
    Serves to delete files
    syntax: rm file1.txt
  12. more
    Serves to display the contents of a file
    syntax: more file_name
  13. echo
    Serves to write a word or phrase to a file
    syntax: echo “message content” file_name
  14. aduser
    Serves to add new users
    syntax: adduser nama_user
    deluser
    Serves to remove the user from the system
    syntax: deluser nama_user
  15. addgroup
    Function to add new group
    syntax: addgroup nama_group
  16. lsusb
    Serves to see the USB device that is connected computer
    syntax: lsusb
  17. lpci
    Serves to view connected PCI devices
    syntax: lpci
  18. lshw
    Serves to view computer hardware
    syntax: lshw
  19. dmesg
    Serves to see the hardware that is being activity
    syntax: dmesg
  20. top
    Serves to see running processes like task manager in windows
    syntax: top
  21. cpuinfo
    Serves to view computer specifications
    syntax: cpuinfo
  22. meminfo
    Serves to view RAM status
    syntax: more / proc / meminfo
  23. clear
    Serves to clean the screen
    syntax: clear
  24. halt
    Serves to turn off computer (must as root)
    syntax: halt
  25. reboot
    used to restart the computer (must as root)
    syntax: reboot
  26. exit
    Serves to exit the terminal
    syntax: exit
  27. wget
    Serves to download via terminal
    syntax: wget link_download
  28. ifconfig
    Serves to view Ethernet/network card configuration
    syntax: ifconfig
  29. apt-get
    Serves to obtain the package/software from ubuntu repository online
    syntax: apt-get nama_paket
    example: apt-get install dhcp3-server
  30. tar
    Serves to extract files
    syntax: tar [parameter] file_name
  31. nautulis
    Works to open the GUI view directly
    syntax: nautulis
    example: sudo nautulis >>> using GUI mode with root)
  32. df -h
    Serves to see the remaining hard drive capacity
    syntax: df -h
  33. who
    Serves to see our login name
    syntax: who
  34. cat
    Serves to open the file
    syntax: cat file_name
  35. date
    Serves to view dates
    syntax: date
  36. cal
    Serves to view the calendar
    syntax: cal
  37. hostname
    Serves to display computer name
    syntax: hostname
  38. free
    Works for free memory
    syntax: free
  39. history
    Serves to see what commands ever typed
    syntax: history
  40. chomod +X
    Serves to extract files into parts of the system

Thus the information provided may be useful. I hope you like it!