1
vote
How can I use the last changed file as an argument in linux?
No, there is no really simple way, largely because this needs to work with arbitrary file names. So while something like ls -tr | tail -n1 will show the last file modified in the current directory, it ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
unix × 3986linux × 1496
bash × 613
macos × 423
shell × 420
command-line × 415
ssh × 216
terminal × 203
windows × 155
ubuntu × 149
shell-script × 138
permissions × 134
find × 118
mac × 115
filesystems × 101
grep × 98
networking × 87
script × 81
solaris × 81
tar × 78
sed × 77
awk × 56
freebsd × 55
process × 54
centos × 51