Exercise: Playing with files -Part1

  • Create a new file and it will be empty
    • touch file1 && ls, provide screenshot
  • Create a new file with nano editor
    • nano file2.txt and hit enter
      • You will enter into nano editor, now put some test like “Hello How are you? I am fine!” then do Ctl+X and press Y and then hit Enter to exit from editor
      • Now user cat file2.txt to check the output and provide the screenshot
Open chat
Hello 👋.
Tell me, how can I help you?