In the Jupyter Home Page
ls -F / and hit Enter$
$ ls -F /
bin@ boot/ dev/ etc/ home/ lib@ lib64@ media/ mnt/ opt/ proc/ root/ run/ sbin@ srv/ sys/ tmp/ usr/ var/
$
ls -F /ls is the command-F is the flag, which represents the option selected for the ls command/ is the argument for the commandREPL for ls -F /
ls -F /)lsExcercise
git clone https://github.com/linhbngo/Distributed-and-Cluster-Computing.git/home/<USER_NAME>/) has two meanings:lsls from the prompt.ls has many options.ls, run ls --help--help is a standard flag in the majority of standard commands in the Linux OS. It shows the general options available to the commands. `man ls.Exercise
ls do when used with -l and -h flags?cd is used to change directory~: your home directory
..: directory one level above the current directorymkdir: Make new directorycp: Copy files or directoriesrm: Remove files or directoriesmv: Move files or directories to a new locationnano^: CtrlRough analogies:
In [ ]:
#include <stdio.h>
int main()
{
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
In [ ]:
// This is for comparison against the previous cell only, do not save this into your hello.c file
public class HelloWorld {
public static void main(String[] args) {
// Prints "Hello, World" to the terminal window.
System.out.println("Hello, World");
}
}
To compile and run:
$ gcc -o hello hello.c
$ ./hello