Linux Basics: Touching Files and Making Dirs
In this entry of our Linux Basics series, we will begin to uncover some of the file interactions possible through the command line. We'll touch on things like creating, editing, and removing files and directories, and searching files for a specific p...
blog.daniel-cobb.com24 min read
Agnius Vasiliauskas
php-dev
Nice intro to Linux commands. I don't know why, but for creating new files I prefer redirecting with
echo > file.ext. With cat problem is that textual information will be copied into destination, but maybe file is binary ? So either your proposed touch or echo with zero bytes outputed. Then you open that binary file in required edit, and here you go.