create file using cat command code example
Example 1: cat create file
cat >"filename"
Example 2: create file in linux using cat
echo "Dance, Dance" > cat_create #create a file
cat >"filename"
echo "Dance, Dance" > cat_create #create a file