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: Terminal

Find files larger than 5mb in Linux

September 12, 2022 Leonardo Signorelli

To find files larger than 5 MB, we need to pass the -size option with value +5M in the find…

Continue Reading →

Posted in: Terminal Filed under: awk, awk command, find command, terminal

Git Best Practices on Acquia Cloud Platform

September 8, 2022 Leonardo Signorelli

Find your Git URL On your Acquia Cloud Platform Application page, go to any of the environments admin pages (dev,…

Continue Reading →

Posted in: Acquia, Terminal Filed under: Acquia, Acquia Cloud, git, git commands, terminal

Fix: TrackPad Scroll Not Working in nano on MacOS

September 1, 2022 Leonardo Signorelli

If you are not able to scroll up and down using your mouse or TrackPad when editing a file using…

Continue Reading →

Posted in: MacOS, Terminal Filed under: MacOS, terminal

Check if a page is caching with curl

August 17, 2022 Leonardo Signorelli

Open the terminal and type the following curl command with the desired site/page: curl -Ik https://www.uccs.edu We can see that…

Continue Reading →

Posted in: curl, Terminal Filed under: curl, terminal

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

Raspberry Pi: Create a Desktop Shortcut to a Folder

March 5, 2020 Leonardo Signorelli

SSH into your Raspberry Pi or open the Terminal directly in your raspberry pi. Go to the Desktop: Or: Create…

Continue Reading →

Posted in: Raspberry Pi, Terminal Filed under: Raspbian, terminal

Change the colors of your Mac OS Terminal

January 29, 2020 Leonardo Signorelli

Open a new terminal window. Open the Terminal Preferences. Go to the Profiles tab and select the Homebrew profile, then…

Continue Reading →

Posted in: Terminal Filed under: terminal

Post navigation

Page 2 of 2
← Previous 1 2

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