linux_aria

My file bash, and configurate for linux


Project maintained by ariafatah0711 Hosted on GitHub Pages — Theme by mattgraham

🚀 LINUX BASIC COMMANDS 🚨

File and Directory Management:

  1. ls: List files and directories.
  2. cd: Change directory.
  3. pwd: Display the current directory.
  4. mkdir: Create a new directory.
  5. rm: Remove files or directories.
  6. cp: Copy files or directories.
  7. mv: Move or rename files.
  8. touch: Create an empty file.
  9. tree: Display directory structure.

File Viewing and Editing:

  1. cat: Display file content.
  2. less / more: View files page by page.
  3. head: Show the first 10 lines.
  4. tail: Show the last 10 lines.
  5. nano: A simple text editor.
  6. vi / vim: An advanced text editor.

Search Operations:

  1. find: Locate files and directories.
  2. grep: Search within files.
  3. locate: Quickly find files using a database.
  4. which: Locate a command’s path.

Disk and File System Management:

  1. df: Display disk space usage.
  2. du: Show directory or file size.
  3. mount / umount: Mount or unmount file systems.
  4. lsblk: List all block devices.
  5. fsck: Check and repair file systems.

Process and System Monitoring:

  1. ps: Display running processes.
  2. top: Monitor system processes.
  3. htop: Interactive process manager.
  4. kill: Terminate a process.
  5. uptime: Show system uptime.
  6. free: Check memory usage.

Networking Commands:

  1. ping: Check connectivity.
  2. curl: Transfer data to/from servers.
  3. wget: Download files from the internet.
  4. ifconfig / ip: View or configure network interfaces.
  5. netstat: Show network statistics.
  6. ssh: Remote access to servers.
  7. SCP: Securely Copy Files Between Systems

Permissions and Ownership:

  1. chmod: Modify file permissions
  2. chown: Change file owner/group
  3. umask: Set default permissions

Archiving and Compression:

  1. tar: Archive and compress files
  2. gzip/gunzip: Compress and decompress files
  3. zip/unzip: Handle zip files

System Information:

  1. uname -a: Show system information
  2. hostname: Display system hostname
  3. whoami: Current user
  4. id: Show user and group IDs
  5. dmesg: Kernel log messages
  6. lscpu: CPU architecture information
  7. lsusb: List USB devices
  8. lspci: Show PCI devices