Linux Tips & Tricks - Command Line school
For those of you old enough to remember the old phone company ads, it's time to "reach out and touch" someone. Or in this case, some files.
The touch command is another command that must be in your bag of sysadmin and user skills. While it seems like a simplistic command of little practical use, in reality it is a very powerful and useful tool.
Note: If you use an SSD with Linux, you may find touch even more useful given many distributions now disable the at-time function on SSD drives. Even if you use the preferred option of using relatime
instead of noatime in your SSD mounts, you wont have accurate at-time information for files on that drive. This can lead to circumstances where applications, scripts, or system functions may fail. In these circumstances, any kludge of a workaround will likely involve the touch command.
#Linux #Sysadmin #CommandLIne
http://www.binarytides.com/linux-touch-command/
No comments:
Post a Comment