Skip to content

Instantly share code, notes, and snippets.

@thinkphp
Created November 4, 2018 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thinkphp/c315b7815407824e7a386171624b92e2 to your computer and use it in GitHub Desktop.
Save thinkphp/c315b7815407824e7a386171624b92e2 to your computer and use it in GitHub Desktop.
This script will tell you your username and running the current processes.
#!/bin/bash
# My first script
echo "Hello $USER"
echo "Hey I am " $USER " and will be telling you about the current processes"
echo "Running processes list"
ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment