shuf -i 2000-65000 -n 1
Enjoy!
Edit: The range is inclusive.
More Related Contents:
- How do I split a string on a delimiter in Bash?
- Correct Bash and shell script variable capitalization
- How to urlencode data for curl command?
- Why equal to operator does not work if it is surrounded by space?
- sudo echo “something” >> /etc/privilegedFile doesn’t work [duplicate]
- How can I declare and use Boolean variables in a shell script?
- Test for non-zero length string in Bash: [ -n “$var” ] or [ “$var” ]
- How can I suppress all output from a command using Bash?
- How to get a password from a shell script without echoing
- How to get the part of a file after the first line that matches a regular expression
- Copy folder recursively, excluding some folders
- Passing arguments by reference
- Get just the filename from a path in a Bash script [duplicate]
- How to resolve symbolic links in a shell script
- Why equal to operator does not work if it is not surrounded by space?
- Extract version number from a string
- How to tell if a string is not defined in a Bash shell script
- Is there a way to avoid positional arguments in bash?
- What does `kill -0 $pid` in a shell script do?
- Can a shell script set environment variables of the calling shell? [duplicate]
- While-loop subshell dilemma in Bash
- Check existence of input argument in a Bash shell script
- How to simulate the environment cron executes a script with?
- YYYY-MM-DD format date in shell script
- Get current directory name (without full path) in a Bash script
- How do I redirect output to a variable in shell? [duplicate]
- How to remove filename prefix with a Posix shell
- Bash Script – iterating over output of find
- Why do I get “/bin/sh: Argument list too long” when passing quoted arguments?
- Validate date format in a shell script