Linux help | Sololearn: Learn to code for FREE!

-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??

9/17/2021 3:45:00 PM

Morrisa Bias

1 Answer

New Answer

0

Yeah . You are correct. But this is pretty noob question.. Try things yourself first rather than asking round.