The touch command isn't actually for creating new files. It's for updating the access and modification times of the specified file or files. The fact that it creates the file if it doesn't exist is merely a convenient side effect.
I am a web developer who specializes in website development. I have worked on several projects in the past and have a track record of delivering high quality products. I believe that my skills, experi
Yes. You're right that the touch command didn't intend to create the new files, If files already exist then we can access & modification the file otherwise it'll create a new file
I've lived a weird life being a professional musician/teacher, a backpacking guru, a guru guru, a tropical fish doctor, a front end web developer and am currently working to open a houseplant shop.
It's not a command, per se, but the up/down arrow functionality is something everyone should know. Toggles through previously entered commands. This is very handy if you're doing the same tasks several times over (avoids extra typing) and is helpful in reviewing what you've done in the event that it didn't work as intended.
Agreed with @kwnaidoo, also it is good to understand the concepts of Redirections when using UNIX commands, that would be a good follow-up post of more advanced topics as well as using pipes like ps aux | grep python.
I am a web developer who specializes in website development. I have worked on several projects in the past and have a track record of delivering high quality products. I believe that my skills, experi
The
touchcommand isn't actually for creating new files. It's for updating the access and modification times of the specified file or files. The fact that it creates the file if it doesn't exist is merely a convenient side effect.Yes. You're right that the
touchcommand didn't intend to create the new files, If files already exist then we can access & modification the file otherwise it'll create a new fileIt's not a command, per se, but the up/down arrow functionality is something everyone should know. Toggles through previously entered commands. This is very handy if you're doing the same tasks several times over (avoids extra typing) and is helpful in reviewing what you've done in the event that it didn't work as intended.
Bro, you just changed my life
And then you become addicted to it like me and press 11 times the up arrow to find back a
ls:DAgreed with @kwnaidoo, also it is good to understand the concepts of Redirections when using UNIX commands, that would be a good follow-up post of more advanced topics as well as using pipes like
ps aux | grep python.This is a good introduction
This article is helpful but in my opinion it could've been much helpful if you mentioned Git commands
I'll post another article related to Git commands
In addition to Mac, these will also work in Linux. A subset also works with Windows command line interfaces too (Cmd/PowerShell).