Linux Basic Commands Pdf. Cat file places standard input into file. Tail f file output the contents of fileas it grows starting with the last 10 lines.
Ctrl z stops the current command resume with fg in the foreground or bg in the background 3. The same can be achieved by using the mv command login4 mv test3 txt newtest3 txt use the man command to get more information about a command it is like using help in windows login4 man rmdir use the diff command to see the differences in two files. Pwd command prints the absolute path to current working directory.
More file output the contents of file.
We will see few examples of the command below. Ctrl d logout the current session similar to exit 4. Now that we have seen a few simple linux commands and also how to work with the terminal let us proceed with a set of few basic linux commands. Pwd command prints the absolute path to current working directory.