Linux Commands
Single command references: networking, permissions, disks and services.
Create the user and home directory in arch linux
Set passworrd
1 min readCurl
Curl — notes from the Linux Command collection.
1 min readDnslookup
Dnslookup — notes from the Linux Command collection.
1 min readFdisk
Fdisk — notes from the Linux Command collection.
1 min readFinding a Specific Port
Using lsof (List Open Files):
1 min readHow to create soft link in nginx /etc/nginx/sites-available and /etc/nginx/sites-enabled/
Navigate to the sites-enabled directory Create the soft link using sudo Test the Nginx configuration Reload Nginx to apply changes How to verify it worked
1 min readHow to remove postgresql in arch linux
Wipe All Database Data (Destructive)
1 min readMake the current user own everything inside the folder (and the folder itself):
If you also want to change the group using the same user, you can:
1 min readnslookup is a command-line tool used to query DNS (Domain Name System). It lets you find the IP address of a domain, perform reverse lookups, and query specific DNS records.
Query a specific DNS server Find the IP address (A record) Find IPv6 address (AAAA record) Find MX (Mail Exchange) records Find NS (Name Server) records Find TXT records
1 min readTo list running services with systemctl, you want to filter for services (--type=service) that are currently active (--state=running).
List ALL Active Services (Running or Exited): List ALL Installed Services (Running, Stopped, or Disabled) Finding a Specific Service The Cleanup Process Stop the service Disable…
1 min read