Linux fundamental part 1

Linux fundamentals

Linux Fundamentals Part 1

Task 4

How would you output hello without a newline?

  • In the man pages you can see the option (man echo)
-n     do not output the trailing newline
answer : echo -n hello

Task 5

  • In this case you can also watch over the man pages

-l = long listing
-a = show hidden dot files
-t = List by time


  1. What flag outputs all entries?
-a
  1. What flag outputs things in a “long list” format?
-l

Task 6

  • They provide a nice picture easily you can get the flag
  1. What flag numbers all output lines?
-n

Task 8

  1. How would you run a binary called hello using the directory shortcut . ?
./hello
  1. How would you run a binary called hello in your home directory using the shortcut ~ ?
~/hello
  1. How would you run a binary called hello in the previous directory using the shortcut … ?
../hello

Task 9

shiba1@nootnoot:~$ touch noot.txt
shiba1@nootnoot:~$ ls
noot.txt  shiba1
shiba1@nootnoot:~$ ./shiba1 > noot.txt
shiba1@nootnoot:~$ cat noot.txt 
pinguftw
  1. What’s the password for shiba2 ?
pinguftw

Popular posts from this blog

Mustacchio - TryHackMe

Tech_Supp0rt: 1 - TryHackMe