Wednesday, May 10, 2023

How to write or append a file without opening in Linux?

 echo "hello world" >> /directory_path/my_file.txt

No comments:

Post a Comment

How to inatall docker on Ubuntu using apt repository

 # Add Docker's official GPG key: sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyring...