<Linux Fundamental Part 1>
The first command is echo. The echo gives you what you typed as an input. For example, If you put echo hello, it will output the word after echo, which is 'hello'.
With flag -n which removes a newline, echo -n <input> will output your input without a newline.
To know many unknown flags, we can use the man <command> to help us to know what flags we could use with the command you use.
The second command is ls. ls is a command that lists information about every file/directory.
Using man ls, we can also see the list of flags used with ls that can manipulate the output.
ls -a lists all files including ones that start with a period.
The third command is cat. cat is used to see the content of a given file.
For example, cat file, any file that contains the data, would output the data inside the file. Use --help flag on cat to see many useful flags.
The fourth command is touch. touch is used to create a new file.
For example, touch hello.txt would create a file called hello.txt. Very simple and useful command.
To run downloaded or users created program, you need to provide a full path to the binary of the program. There are absolute paths and relative paths and the latter one is effective and saves time for running a binary. See the chart below.
The last command for the part 1 is su. su is a command that allows you to change the user, without logging out and logging back in again.
For example, if you want to switch to user shiba2, then type su shiba2 and it will lead you to enter the password, and you're logged in as shiba2.
You have just finished the Linux fundamental part 1!
Now, it's time to take it a further step and join the Linux Fundamental 2 room.