[101] Linux Commands
Linux VPS Ubuntu Commands
Overview
This section provides a list of essential Linux commands used for managing an Ubuntu VPS. These commands will help you navigate the filesystem, manage files and processes, configure the system, and perform administrative tasks.
1. System Information Commands
1.1 uname
uname
English: Displays system information (kernel name, version, architecture).
Indonesian: Menampilkan informasi sistem (nama kernel, versi, arsitektur).
1.2 hostname
hostname
English: Displays or sets the system's hostname.
Indonesian: Menampilkan atau mengatur nama host sistem.
2. User Management
2.1 whoami
whoami
English: Prints the username of the current user.
Indonesian: Menampilkan nama pengguna saat ini.
2.2 adduser
adduser
English: Creates a new user.
Indonesian: Membuat pengguna baru.
2.3 passwd
passwd
English: Changes the user’s password.
Indonesian: Mengganti kata sandi pengguna.
3. File and Directory Commands
3.1 ls
ls
English: Lists files and directories in the current directory.
Indonesian: Menampilkan file dan direktori di direktori saat ini.
3.2 cd
cd
English: Changes the current working directory.
Indonesian: Mengganti direktori kerja saat ini.
3.3 mkdir
mkdir
English: Creates a new directory.
Indonesian: Membuat direktori baru.
3.4 rm
rm
English: Deletes files or directories.
Indonesian: Menghapus file atau direktori.
4. File Permission and Ownership
4.1 chmod
chmod
English: Changes file or directory permissions.
Indonesian: Mengubah izin file atau direktori.
4.2 chown
chown
English: Changes ownership of files or directories.
Indonesian: Mengubah kepemilikan file atau direktori.
5. Process Management
5.1 ps
ps
English: Displays currently running processes.
Indonesian: Menampilkan proses yang sedang berjalan.
5.2 top
top
English: Displays real-time system resource usage.
Indonesian: Menampilkan penggunaan sumber daya sistem secara real-time.
5.3 kill
kill
English: Terminates a process by its ID.
Indonesian: Menghentikan proses dengan ID-nya.
6. Network Management
6.1 ifconfig
ifconfig
English: Displays network configuration.
Indonesian: Menampilkan konfigurasi jaringan.
6.2 ping
ping
English: Tests connectivity to another networked device.
Indonesian: Menguji konektivitas ke perangkat jaringan lain.
6.3 netstat
netstat
English: Displays network connections, routing tables, and more.
Indonesian: Menampilkan koneksi jaringan, tabel routing, dan lainnya.
7. Package Management
7.1 apt-get
apt-get
English: A package management tool used for installing, updating, and removing software.
Indonesian: Alat manajemen paket untuk menginstal, memperbarui, dan menghapus perangkat lunak.
7.2 dpkg
dpkg
English: A tool to install, build, remove, and manage .deb packages.
Indonesian: Alat untuk menginstal, membangun, menghapus, dan mengelola paket .deb.
8. Disk Usage Commands
8.1 df
df
English: Displays available disk space.
Indonesian: Menampilkan ruang disk yang tersedia.
8.2 du
du
English: Displays the disk usage of files and directories.
Indonesian: Menampilkan penggunaan disk oleh file dan direktori.
9. System Monitoring and Logs
9.1 dmesg
dmesg
English: Displays kernel log messages.
Indonesian: Menampilkan pesan log kernel.
9.2 journalctl
journalctl
English: Views logs from the systemd journal.
Indonesian: Melihat log dari sistem journald.
10. Miscellaneous
10.1 date
date
English: Displays or sets the system date and time.
Indonesian: Menampilkan atau mengatur tanggal dan waktu sistem.
10.2 uptime
uptime
English: Shows how long the system has been running.
Indonesian: Menunjukkan berapa lama sistem telah berjalan.
11. SSH Management
11.1 ssh
ssh
English: Connects to a remote server using the SSH protocol.
Indonesian: Terhubung ke server jarak jauh menggunakan protokol SSH.
11.2 scp
scp
English: Copies files between hosts over SSH.
Indonesian: Menyalin file antar host melalui SSH.
Source
Last updated