This should work:
date +%s
More Related Contents:
- Why should eval be avoided in Bash, and what should I use instead?
- How to redirect output to a file and stdout
- How to kill a child process after a given timeout in Bash?
- ./configure : /bin/sh^M : bad interpreter [duplicate]
- The ‘eval’ command in Bash and its typical uses
- How to join multiple lines of file names into one with custom delimiter?
- How do I use sed to change my configuration files, with flexible keys and values?
- Linux: copy and create destination dir if it does not exist
- How to redirect the output of the time command to a file in Linux?
- How to handle more than 10 parameters in shell
- How to count lines in a document? [closed]
- What is the meaning of a double dollar sign in bash/Makefile?
- Changing default shell in Linux [closed]
- Linux Script to check if process is running and act on the result
- Run cron job only if it isn’t already running
- Redirecting command output in docker
- When to wrap quotes around a shell variable?
- How do you normalize a file path in Bash?
- How to get file creation date/time in Bash/Debian?
- Disable and re-enable address space layout randomization only for myself
- How to join multiple lines of filenames into one with custom delimiter
- Check if a variable exists in a list in Bash
- Doesn’t sh support process substitution
- How to automatically add user account AND password with a Bash script?
- Meaning of tilde in Linux bash (not home directory)
- How do I delete all lines in a file starting from after a matching line?
- How to convert hex to ASCII characters in the Linux shell?
- How to check if a program is run in Bash on Ubuntu on Windows and not just plain Ubuntu?
- What are the rules for valid identifiers (e.g. functions, vars, etc) in Bash?
- Bash `wait` command, waiting for more than 1 PID to finish execution