- 2

Linux help

My professor gave the assignment of “Create a file named info.txt that will contain your name, your gender, and your location without actually entering the file. (example: without using the commands vi, vim, nano, pico)” My answer is : echo “yourname yourgender yourlocation” >> info.txt Is this correct??

17th Sep 2021, 3:45 PM
Morrisa Bias
Morrisa Bias - avatar
1 Answer
0
Yeah . You are correct. But this is pretty noob question.. Try things yourself first rather than asking round.
17th Sep 2021, 4:13 PM
InnocentGeek
InnocentGeek - avatar