Languages
[Edit]
EN

Bash - create new file under linux command

8 points
Created by:
Pearl-Hurley
559

1. With touch command:

Edit
Note: created file will be empty

2. With nano or pico program:

Edit
Note: After typing data use ctrl^o (ctrl+o) to save file file and ctrl^x (ctrl+x) to close program.

3. With echo and output redirection to file:

Edit

4. With cat program:

Edit
Note: Enter key causes saving of current line. Use ctrl^c (ctrl+c) to close program.
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

Bash

Bash - create new file under linux command
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join