touch file in linux code example Example: touch command touch test.txt // this creates a file called test.txt