man man |grep -B1 -A1 keyword.
basename. Which characters do you need to type on your system before
bash completion can complete your typing?
mkdir --parents. Which characters do you
need to actually type when using bash completion? Hint: on debian
based system bash completion can also complete long options
to many POSIX utilities.
prog/hello)? Hint: man mkdir | grep -B1 "make parent".
rm command to ask
the user for a confirmation before every removal? Hint: man rm|grep "prompt before".
rm command to
remove a folder with all subfolders?
Hint: man rm|grep -B1 "remove directories".
.,
..,
~ mean in the context of the unix file utilities?
cd without any arguments lead you?
mkdir --parents ~/prog/hello.
cd ~/prog/hello.
hello.c with the content
#include "stdio.h"
int main()
{
printf("hello, world\n");
return 0;
}
cc hello.c -o hello.
./hello