3

I ran a few jobs with at command and, if possible, I want to see which commands I ran in what directories. I work with Linux Mint 16 if this is relevant.

2

The at jobs do not appear in bash_history. Apparently once the jobs are run, they vanish. If you want to keep logs, you can add echo 'some comment' > ~/at.log lines manually.

| improve this answer | |
1

Maybe the bash history is useful for you; see the file .bash_history in your home directory. To query the bash history, just use the command history (see the bash reference guide, ch. 9.2), together with grep if neccesary.

(Edited - removed content regarding pending at jobs).

| improve this answer | |
  • I know how to list with atq and see the details of pending jobs. I was asking for completed jobs. I will check .bash_history. – Atilla Filiz Jun 25 '14 at 9:52
  • Sorry, missed that point. I've removed the irrelevant part of my answer. – tohuwawohu Jun 25 '14 at 9:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.