The output is very long so I shortened it by grepping for txt
If I run find -mtime -5 and add the &, it just outputs to the screen.
Also, if I run find -mtime -5 >TestFile.txt it outputs to the screen.
If you run any of these commands on your system, does it run in the background or output to a text file.
I am just trying to figure out if the find command is meant to ignore the background & and redirect output to a file.
Thx
Dan
Output:
[email protected]:~$ find -mtime -5 | grep txt
./.cache/tracker/locale-for-miner-apps.txt
./.mozilla/firefox/rkeltqtd.default-release/SiteSecurityServiceState.txt
./.mozilla/firefox/rkeltqtd.default-release/AlternateServices.txt
./.mozilla/firefox/rkeltqtd.default-release/serviceworker.txt
./output.txt
./findCommandoutput.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/571988c4897ef87c20ec4d6b13878cf6c36e1caf/index.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/e01f19e2630bf857ca9222cb547db7dc458ce71f/index.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/5e32900ad7c1a895555fd05d8041fb6b584ad539/index.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/84b597b297dddc7f60222cd32da139dd05316ac0/index.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/cca3f0d9ad2c35cb718c129cd3407b7abf527ae2/index.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/379f1cbab5b08b6fc9e08681e42d8be311441c88/index.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/8cbb992fe0cd9ef960e69a214646bd270516a23e/index.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/2d5d77554141a7026d7415b7b3df1676ed8c4afb/index.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/eadf114e35641d8a14aa9648d8e1c01b4b3bb3f0/index.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/4fb0d2c66b84395852cceac05c59792751bead9c/index.txt
./.config/google-chrome/Default/Service Worker/CacheStorage/579544fd7d0441717f082c9eb123588966aa57ac/index.txt
./IDriveForLinux/idriveIt/user_profile/dan/dan_f/stage.txt
./IDriveForLinux/idriveIt/user_profile/dan/dan_f/browsers.txt
./IDriveForLinux/idriveIt/user_profile/dan/dan_f/CDP/DefaultBackupSet/cpentries.txt
./IDriveForLinux/idriveIt/user_profile/dan/dan_f/.trace/traceLog.txt
./IDriveForLinux/idriveIt/user_profile/root/.trace/traceLog.txt