Skip to content
Code Snippets
Useful code to copy and paste
  • ALL
  • Acquia
  • Acquia API
  • Acquia Cloud IDE
  • Acquia Cloud Site Factory
  • Bash
  • Bootstrap
  • C#
  • CSS
  • curl
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspberry Pi
  • Terminal
  • Unity
  • Website Templates
  • WordPress

Category: Bash

ACSF Drush Alias Generator

Streamline Your ACSF Workflow with the ACSF Drush Alias Generator

March 29, 2025 Leonardo Signorelli

Managing multiple Drupal sites on Acquia Cloud Site Factory (ACSF) can be challenging, especially when running Drush commands across different…

Continue Reading →

Posted in: Acquia, Acquia Cloud Site Factory, Bash, Drupal 10, Drupal 8-9, Drush, Terminal Filed under: Acquia, Acquia Cloud Site Factory, ACSF, Bash, Drupal, Drupal 10, drupal 8, Drupal 9, drush, Shell Script

Linux: Convert a text file with URLs to a HTML file with clickable links

July 25, 2021 Leonardo Signorelli

We have a file called URLs.txt with URLs: http://www.google.com http://www.reddit.com We want to create an HTML file with clickable URLs:…

Continue Reading →

Posted in: Bash, Terminal, Uncategorized Filed under: Bash, linux, perl, terminal, wget

Scrape a site with wget using a sitemap.xml

Leonardo Signorelli

The following wget command will create a file called urls.txt containing all the URLs found in a site’s sitemap.xml file.…

Continue Reading →

Posted in: Bash, Terminal, Uncategorized Filed under: Bash, linux, terminal, wget

BASH: Open a new terminal window and run a command

October 22, 2019 Leonardo Signorelli

Open a terminal shell and run: nano main.sh Copy the following code and save the script: #!/bin/bash echo “Going to…

Continue Reading →

Posted in: Bash Filed under: Bash

If you find my articles useful and would like to show your appreciation, consider buying me a cup of coffee ☕️. Your support is greatly appreciated and helps me continue creating valuable content. Thank you!

Donate
  • ALL
  • Acquia
  • Acquia API
  • Acquia Cloud IDE
  • Acquia Cloud Site Factory
  • Bash
  • Bootstrap
  • C#
  • CSS
  • curl
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspberry Pi
  • Terminal
  • Unity
  • Website Templates
  • WordPress
Copyright © 2025 Code Snippets — Escapade WordPress theme by GoDaddy