Enigmatic Aura
TwitterMediumGithub
  • Welcome
  • 101-CRYPTO-WEB3
    • [101] Crypto and Web3 Basics
    • [101] Linux Commands
  • NEW NODE & TESNET
    • Aztec Public Testnet Guide
  • Node Validator
    • Sonaric AI Node
    • Zenrock Node
      • Update Zenrock Node
    • BrinX AI Node Validator
      • Worker Node Setup
      • Relay Node Setup
    • Drosera CLI Node Guide
  • Testnet Airdrop
    • Monad Testnet Guide
    • Sunrise Testnet v2
    • Inkonchain - The Break
    • Plaza Finance - Testnet
    • Cysic Incentivized Testnet
    • Crypto Faucet List
    • Abstract Chain's L2 Testnet
    • DEPIN - Project
      • Dawn
      • Teneo Node Extension
      • OpenLayer
        • Code
      • Gradient Network
      • Grass Stage 2: Capturing the Web
    • Base Learn - Testnet
      • Deploying Smart Contracts
        • How to Deploy
        • Testnet Base Learn
        • Source Code
      • Join Community
    • Incentivized Testnet - Multipli's
    • Yala Testnet
      • Getting Started on Yala Testnet
      • How to Set Up Your Wallet and Claim the Faucet
      • Testnet Tasks
      • Additional Resources
      • Other Tasks
    • Unichain Testnet
      • Wallet Setup & Faucet
      • Bridge
      • Deploy , Swap & Add LP
      • Additional Tasks
    • Rise Chain
  • Retrodrop
    • Huma Finance, OpenEden & SuperStacks
Powered by GitBook
On this page
  • 1. System Information Commands
  • 2. User Management
  • 3. File and Directory Commands
  • 4. File Permission and Ownership
  • 5. Process Management
  • 6. Network Management
  • 7. Package Management
  • 8. Disk Usage Commands
  • 9. System Monitoring and Logs
  • 10. Miscellaneous
  • 11. SSH Management
  • Source
  1. 101-CRYPTO-WEB3

[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

  • English: Displays system information (kernel name, version, architecture).

  • Indonesian: Menampilkan informasi sistem (nama kernel, versi, arsitektur).

bashCopy codeuname -a

1.2 hostname

  • English: Displays or sets the system's hostname.

  • Indonesian: Menampilkan atau mengatur nama host sistem.

bashCopy codehostname

2. User Management

2.1 whoami

  • English: Prints the username of the current user.

  • Indonesian: Menampilkan nama pengguna saat ini.

bashCopy codewhoami

2.2 adduser

  • English: Creates a new user.

  • Indonesian: Membuat pengguna baru.

bashCopy codesudo adduser <username>

2.3 passwd

  • English: Changes the user’s password.

  • Indonesian: Mengganti kata sandi pengguna.

bashCopy codepasswd <username>

3. File and Directory Commands

3.1 ls

  • English: Lists files and directories in the current directory.

  • Indonesian: Menampilkan file dan direktori di direktori saat ini.

bashCopy codels -la

3.2 cd

  • English: Changes the current working directory.

  • Indonesian: Mengganti direktori kerja saat ini.

bashCopy codecd /path/to/directory

3.3 mkdir

  • English: Creates a new directory.

  • Indonesian: Membuat direktori baru.

bashCopy codemkdir <directory_name>

3.4 rm

  • English: Deletes files or directories.

  • Indonesian: Menghapus file atau direktori.

bashCopy coderm <file>
rm -r <directory>

4. File Permission and Ownership

4.1 chmod

  • English: Changes file or directory permissions.

  • Indonesian: Mengubah izin file atau direktori.

bashCopy codechmod 755 <file_or_directory>

4.2 chown

  • English: Changes ownership of files or directories.

  • Indonesian: Mengubah kepemilikan file atau direktori.

bashCopy codechown <user>:<group> <file_or_directory>

5. Process Management

5.1 ps

  • English: Displays currently running processes.

  • Indonesian: Menampilkan proses yang sedang berjalan.

bashCopy codeps aux

5.2 top

  • English: Displays real-time system resource usage.

  • Indonesian: Menampilkan penggunaan sumber daya sistem secara real-time.

bashCopy codetop

5.3 kill

  • English: Terminates a process by its ID.

  • Indonesian: Menghentikan proses dengan ID-nya.

bashCopy codekill <PID>

6. Network Management

6.1 ifconfig

  • English: Displays network configuration.

  • Indonesian: Menampilkan konfigurasi jaringan.

bashCopy codeifconfig

6.2 ping

  • English: Tests connectivity to another networked device.

  • Indonesian: Menguji konektivitas ke perangkat jaringan lain.

bashCopy codeping <host>

6.3 netstat

  • English: Displays network connections, routing tables, and more.

  • Indonesian: Menampilkan koneksi jaringan, tabel routing, dan lainnya.

bashCopy codenetstat -tuln

7. Package Management

7.1 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.

bashCopy codesudo apt-get install <package>

7.2 dpkg

  • English: A tool to install, build, remove, and manage .deb packages.

  • Indonesian: Alat untuk menginstal, membangun, menghapus, dan mengelola paket .deb.

bashCopy codesudo dpkg -i <package.deb>

8. Disk Usage Commands

8.1 df

  • English: Displays available disk space.

  • Indonesian: Menampilkan ruang disk yang tersedia.

bashCopy codedf -h

8.2 du

  • English: Displays the disk usage of files and directories.

  • Indonesian: Menampilkan penggunaan disk oleh file dan direktori.

bashCopy codedu -sh <directory>

9. System Monitoring and Logs

9.1 dmesg

  • English: Displays kernel log messages.

  • Indonesian: Menampilkan pesan log kernel.

bashCopy codedmesg

9.2 journalctl

  • English: Views logs from the systemd journal.

  • Indonesian: Melihat log dari sistem journald.

bashCopy codejournalctl -xe

10. Miscellaneous

10.1 date

  • English: Displays or sets the system date and time.

  • Indonesian: Menampilkan atau mengatur tanggal dan waktu sistem.

bashCopy codedate

10.2 uptime

  • English: Shows how long the system has been running.

  • Indonesian: Menunjukkan berapa lama sistem telah berjalan.

bashCopy codeuptime

11. SSH Management

11.1 ssh

  • English: Connects to a remote server using the SSH protocol.

  • Indonesian: Terhubung ke server jarak jauh menggunakan protokol SSH.

bashCopy codessh <user>@<host>

11.2 scp

  • English: Copies files between hosts over SSH.

  • Indonesian: Menyalin file antar host melalui SSH.

bashCopy codescp <source_file> <user>@<host>:<destination_directory>

Source


Previous[101] Crypto and Web3 BasicsNextNEW NODE & TESNET

Last updated 7 months ago

Ubuntu Official Documentation