[LINUX] Timestamp acquisition command in Unix environment


Can be obtained by giving an argument to the date command

date +%s

# 1587575774

Image when embedding in bash script and dynamically generating

echo "Now timestamp is `date +%s`"

# Now timestamp is 1587575856

Recommended Posts

Timestamp acquisition command in Unix environment
virtualenvwrapper in windows environment
virtual environment in python
Command line collection for using virtual environment in Anaconda
Development environment in Python
Use Anaconda in pyenv environment
SSH restrictions in Linux environment
Collaborate in a remote environment
Execute external command in python
Handle environment variables in Python
HTTP environment variables in Flask
Byobu crashes in pyenv environment
Run unix command on python
Participate in nl command development
(Note) Django in Vagrant environment
External command execution in Python