Categories
HOW TO Linux Unix

Unix set date and time command

To set date and time use date command with -s parameter

[sourcecode lang=”bash”]
date -s "02/13/2013 17:52:04"
[/sourcecode]

To list the date and time of the server use date command without parameters

[sourcecode lang=”bash”]
date
[/sourcecode]

Did my HOW TO help you? Leave a reply.

Categories
Ubuntu

coWPAtty – “cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o utils.o utils.c utils.c:33:18: error: pcap.h: No such file or directory In file included from utils.c:35: utils.h:29: error: expected ‘)’ before ‘*’ token utils.c:142: error: expected ‘)’ before ‘*’ token make: *** [utils.o] Error 1”

When you try to “makecoWPAtty 4.6 in Ubuntu show following error:

cc -pipe -Wall -DOPENSSL  -O2 -g3 -ggdb   -c -o utils.o utils.c
utils.c:33:18: error: pcap.h: No such file or directory
In file included from utils.c:35:
utils.h:29: error: expected ‘)’ before ‘’ token
utils.c:142: error: expected ‘)’ before ‘
’ token
make: *** [utils.o] Error 1

Solution:

> sudo apt-get install libssl-dev
> sudo apt-get install libpcap0.8-dev
> sudo make install