Skip to content

Instantly share code, notes, and snippets.

@thisismohitgupta
Last active March 2, 2018 08:43
Show Gist options
  • Save thisismohitgupta/573bb3202acf1620a42b7439d31efdae to your computer and use it in GitHub Desktop.
Save thisismohitgupta/573bb3202acf1620a42b7439d31efdae to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Updating names"
# RANDOM=$$
# NAME=$([ ! -z "$1" ] && echo "$1" || echo $RANDOM)
[ ! -z "$1" ] && name="$1" || name=$$
echo $name
# echo $RANDOMS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment