ShellSpells
  • 🧙‍♂️Welcome!
    • ShellSpells
    • FAQs
    • License & Disclaimer
  • 🐧Linux
    • System Ops
      • Transcripts
      • Help
      • System Info
        • Date/Time
        • System Details
        • Patches & Updates
        • Init System Identification
        • Hostname / Host ID
        • Variables
        • Hardware & Resources
      • Filesystem
        • Traverse & Enumerate
        • Drives & Partitions
        • Shares
        • Packages
        • Connected Devices
        • Kernel Modules (Drivers)
      • Users & Groups
        • Enumerate
        • Modify
      • Network
        • Enumerate
        • Modify
      • Scheduled Jobs
        • Enumerate
        • Modify
      • Processes
        • Enumerate
        • Modify
        • Custom Script and Shared Object
        • Process I/O Redirection
      • Services
        • Enumerate
        • Modify
        • Create a Service
      • Startup/Boot Scripts
        • Enumerate
        • Modify
      • Security
        • Antivirus
        • Firewall
        • SSH Keys
      • History & Logs
        • History
        • Logs
    • File Ops
      • Search
        • Filename
        • Content
        • Users (Owners)
        • Time
        • Size
        • Permission
        • Hidden Files
        • Inode
        • Find + Exec
        • Notes
      • Enumerate Metadata
      • Modify Metadata
      • Read Content
      • Modify Content
      • Extract Content
      • Sort / Compare / Count
      • Move
      • Copy
      • Execute
      • Hash
      • Encode/Decode
      • Compress/Decompress
      • Working With Weird Filenames
    • Terminal Ops
      • Keyboard Shortcuts
      • Tmux Shortcuts
  • 🪟Windows
    • System Ops
      • Transcripts
      • Help
      • System Info
        • One-liners
        • Date/Time
        • System Details
        • Hotfixes
        • Domain or Workgroup
        • Data Execution Prevention
        • Variables
        • Hardware & Resources
      • Filesystem
        • Traverse & Enumerate
        • Drives & Partitions
        • Installed Software
        • Drivers
        • Shares
      • Registry
        • Enumerate
        • Modify
        • Forensically Relevant Keys
      • Users & Groups
        • Enumerate
        • Modify
      • Network
        • Enumerate
        • Modify
      • Scheduled Tasks
      • Processes
        • Enumerate
        • Modify
      • Services
        • Enumerate
        • Modify
      • Autorun / Startup
        • Enumerate
        • Modify
      • Security
        • Permissions
          • Enumerate
          • Page
        • Antivirus
        • Firewall
          • Enumerate
          • Modify
        • Audit Policies
        • Remoting
          • Enumerate
          • Modify
          • Registry Locations
        • Stored Credentials
      • Remote Command Execution
      • Active Directory
        • Enumerate
        • Modify
      • History & Logs
        • History
        • Logs
      • PowerShell Config
      • Scripting
      • WMIC Notes
    • File Ops
      • Search
        • Filename
        • Time
        • Size
        • Permissions
        • Attributes
        • Wildcarding
      • Enumerate Metadata
        • One Liners
        • Users (Owners)
        • Timestamps
        • Size
        • Permissions
        • Attributes
      • Modify Metadata
        • Change Owner
        • Timestamps
        • Size
        • Attributes
      • Read Content
      • Modify Content
        • Overwrite
        • Insert
        • Append
        • Replace / Remove
        • Convert Case
        • Alternate Data Streams
      • Extract Content
      • Sort / Compare / Count
        • Sort
        • Count
        • Compare
      • Move
      • Copy
      • Execute
      • Hash
      • Encode/Decode
      • Compress/Decompress
      • Working With Weird Filenames
      • Output Formatting / Filtering
      • File Formatting
      • Operators
  • ⛓️Network
    • Traffic Manipulation
      • iptables
        • Option List
        • General Commands
        • Filter Tables
        • NAT
        • Mangle
        • Filter for SSH Traffic (Example)
      • nftables
    • Packet Capture
      • Syntax
      • TCPDump Examples
    • Packet Analysis
      • Wireshark
  • 🚗Maneuver
    • SSH
    • Control Sockets
    • RDP
    • Windows Port Proxy
  • 🛩️Data Transfer
    • SCP
    • FTP
    • Netcat
      • Netcat Relays
    • Server Interactions
    • Alternate Methods
  • 🪄REGEX
    • Examples
Powered by GitBook
On this page
  • Enumerate
  • Debian-based Systems
  • Red Hat-based Systems
  • Systems with DNF Package Manager
  • Systems with Pacman Package Manager
  • Systems with the Zypper Package Manager
  • Modify
  • Debian-based Systems
  • Red Hat-based Systems
  • Systems withDNF Package Manager
  • Systems withPacman Package Manager
  • Systems with Zypper Package Manager
  • Manual install

Was this helpful?

  1. Linux
  2. System Ops
  3. Filesystem

Packages

Enumerate

Debian-based Systems

e.g., Debian, Ubuntu

dpkg -l

Lists all installed packages using the Debian package manager.

apt list --installed

Lists all installed packages using the Advanced Package Tool (APT).

aptitude search '~i'

Lists all installed packages using the Aptitude package manager.

Red Hat-based Systems

e.g., Red Hat Enterprise Linux, CentOS

rpm -qa

Lists all installed packages using the RPM Package Manager.

yum list installed

Lists all installed packages using the Yellowdog Updater, Modified (YUM) package manager.

Systems with DNF Package Manager

e.g., Fedora, CentOS 8+

dnf list installed

Lists all installed packages using the DNF package manager.package manager.

Systems with Pacman Package Manager

e.g., Arch Linux

pacman -Q

Lists all installed packages using the Pacman package manager.

Systems with the Zypper Package Manager

e.g., openSUSE

zypper se --installed-only

Lists all installed packages using the Zypper package manager.

Modify

Debian-based Systems

e.g., Debian, Ubuntu

apt install package_name

Installs a package using the Advanced Package Tool (APT).

apt update && apt upgrade

Updates the package list and upgrades installed packages.

Red Hat-based Systems

e.g., Red Hat Enterprise Linux, CentOS

yum install package_name

Installs a package using the Yellowdog Updater, Modified (YUM) package manager.

yum update

Updates all installed packages using YUM.

Systems withDNF Package Manager

e.g., Fedora, CentOS 8+

dnf install package_name

Installs a package using the DNF package manager.

dnf update

Updates all installed packages using DNF.

Systems withPacman Package Manager

e.g., Arch Linux

pacman -S package_name

Installs a package using the Pacman package manager.

pacman -Syu

Synchronizes package databases and upgrades installed packages.

Systems with Zypper Package Manager

e.g., openSUSE

zypper install package_name

Installs a package using the Zypper package manager.

zypper update

Updates all installed packages using Zypper.

Manual install

./configure && make && make install

Manual installation from source code.

PreviousSharesNextConnected Devices

Last updated 1 year ago

Was this helpful?

🐧