Skip Navigation

Some commands to confuse the newbies

[joe@fedora ~]$ echo echo echo echo
echo echo echo
[joe@fedora ~]$ cat speak
Meow meau miaw meooou!
[joe@fedora ~]$ source code
print('Hello World!')
[joe@fedora ~]$ cd rom
[joe@fedora rom]$
  • echo: repeats you, it repeated "echo echo echo"
  • cat: displays the content of a file if given, the content of the file "speak" was "Meow meau miaw meooou!"
  • cd: I changed the directory my shell is working in to a directory called rom
  • source: runs the commands in the specified file in your shell the command in the file "code" was
         echo "print('Hello World!')"
3