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
- sudo su
Serves to login as root / highest user
syntax: sudo su - root
Serves to login as root
syntax: root - login
Serves to login as another user, but must be root first to run this command bias.
Syntax: login nama_user - cd (change directory)
Serves to switch directories / folders
syntax: cd address_directory
example: cd / etc / network - pwd
Serves to show which directory our position is
syntax: pwd - ls (list)
Serves to view the contents of a directory
syntax: ls - 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 - mkdir (make directory)
Works to create a new folder
syntax: mkdir nama_folder
example: mkdir folder1 - rmdir (remove directory)
Function to delete folder
syntax: rmdir nama_folder
example: rmdir folder1 - touch
Works to create new files
syntax: touch filename - rm (remove)
Serves to delete files
syntax: rm file1.txt - more
Serves to display the contents of a file
syntax: more file_name - echo
Serves to write a word or phrase to a file
syntax: echo “message content” file_name - aduser
Serves to add new users
syntax: adduser nama_user
deluser
Serves to remove the user from the system
syntax: deluser nama_user - addgroup
Function to add new group
syntax: addgroup nama_group - lsusb
Serves to see the USB device that is connected computer
syntax: lsusb - lpci
Serves to view connected PCI devices
syntax: lpci - lshw
Serves to view computer hardware
syntax: lshw - dmesg
Serves to see the hardware that is being activity
syntax: dmesg - top
Serves to see running processes like task manager in windows
syntax: top - cpuinfo
Serves to view computer specifications
syntax: cpuinfo - meminfo
Serves to view RAM status
syntax: more / proc / meminfo - clear
Serves to clean the screen
syntax: clear - halt
Serves to turn off computer (must as root)
syntax: halt - reboot
used to restart the computer (must as root)
syntax: reboot - exit
Serves to exit the terminal
syntax: exit - wget
Serves to download via terminal
syntax: wget link_download - ifconfig
Serves to view Ethernet/network card configuration
syntax: ifconfig - apt-get
Serves to obtain the package/software from ubuntu repository online
syntax: apt-get nama_paket
example: apt-get install dhcp3-server - tar
Serves to extract files
syntax: tar [parameter] file_name - nautulis
Works to open the GUI view directly
syntax: nautulis
example: sudo nautulis >>> using GUI mode with root) - df -h
Serves to see the remaining hard drive capacity
syntax: df -h - who
Serves to see our login name
syntax: who - cat
Serves to open the file
syntax: cat file_name - date
Serves to view dates
syntax: date - cal
Serves to view the calendar
syntax: cal - hostname
Serves to display computer name
syntax: hostname - free
Works for free memory
syntax: free - history
Serves to see what commands ever typed
syntax: history - chomod +X
Serves to extract files into parts of the system
Thus the information provided may be useful. I hope you like it!