change color.h en colors.h et ajoute dans makefile, et ajout commande ncdu dans tutos shell
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#ifndef FILENAME_HPP
|
#ifndef FILENAME_HPP
|
||||||
# define FILENAME_HPP
|
# define FILENAME_HPP
|
||||||
|
|
||||||
# include "color.h"
|
# include "colors.h"
|
||||||
# include <iostream>
|
# include <iostream>
|
||||||
# include <string>
|
# include <string>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,16 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include "colors.h"
|
||||||
|
|
||||||
|
#define N_TEST "1"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
int i = 0;
|
||||||
|
|
||||||
|
std::cout << B_YELLOW "\n[" << ++i << "/" N_TEST "] "
|
||||||
|
<< "tests :" RESET "\n";
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ D_SRCS = .
|
|||||||
SRCS = main.cpp
|
SRCS = main.cpp
|
||||||
|
|
||||||
D_HEADERS = .
|
D_HEADERS = .
|
||||||
HEADERS =
|
HEADERS = colors.h
|
||||||
|
|
||||||
D_OBJS = builds
|
D_OBJS = builds
|
||||||
OBJS = $(SRCS:%.$(EXT)=$(D_OBJS)/%.o)
|
OBJS = $(SRCS:%.$(EXT)=$(D_OBJS)/%.o)
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
**mkdir file{1..10}** creer 10 dossiers nommés de file1 à file10
|
**mkdir file{1..10}** creer 10 dossiers nommés de file1 à file10
|
||||||
**pwd** print working directory
|
**pwd** print working directory
|
||||||
**xdg-open .** open working directory
|
**xdg-open .** open working directory
|
||||||
|
**ncdu** (visual version of 'du' command) quick presentation of directories size
|
||||||
|
|
||||||
**ssh username@ssh.server.com -p 0000** se connecter a un serveur via ssh en precisant un port
|
**ssh username@ssh.server.com -p 0000** se connecter a un serveur via ssh en precisant un port
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user