UNIX
Unix is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
Application
Any
Language
Any
License
Any
something like this, I mean
echo 20191012 | awk '{a=substr($0,1,4); c=substr($0,7,2);b=substr($0,5,2); print(c "." b "." a )}'
There are a lot of difference between commands
./script.sh
and
. ./script.sh
?
My teacher sad, that it's two different commands. I'm surprised ...
Hello everyone,
I have a daemon that writes log of current time five time at location "/opt/NetSupport/NetSupportManager/file.log".
I want my daemon to launch a window at ubuntu login screen(this...
Hi all
I have an mpc8360e processor (has e300 core and QE) for our networking application. I have to use 1GB DRAM module in my board, but u-boot for powerpc is not supporting that. It is...
I have a C daemon that needs to restart itself after any configuration file changes on receiving a SIGHUP signal. Can anybody post some example code on how to do it?
The daemon is started by a...
Dear friends,
i decide to develop an ISP billing system.
i have a linux server that communicate with a cisco router.
how can i add user and config them with programming?
in advanced thank you...
Hello,
I have a PIC 18F4620.I add on the pic setup the serial port.
I have this module, who are connect on RS232 :
http://www.tigal.com/1365
My problem concerned the card :
I need help to know...
My guess is; you'd need to write a virtual device driver that makes the OS think you have a normal disk attached. The virtual driver would act like a bridge between the OS and a RAID layer. This RAID...
I find solution. I should compare each char with decimal number that peer to unicode. For example 0008 should be compare with 8 for detecting it or 007f should be compare with 127.
I want to read a file and process its content in a C99 program. The file have special chars such as 007f and some of them is controller chars.
This is a part of the file:
%'%'''SFUTLNTVER...
Hi,
I unfortunately do not have time to put myself in C or browse all the forums dedicated to this programming ...
I need to translate this little bash function in C:
myfunc()
{
if...
app = glade_app_new ();
vbox = gtk_vbox_new (FALSE, 0);
gtk_container_add (GTK_CONTAINER (window), vbox);
.....................
.....................
}
So from the...
The c programming language by ritchie and kernighan. As far as C goes I don't think I've come across anything more helpful.
Another cool book i'd recommend are the "hacking : the art of...
hi,
i was wondering if anyone can help me implement software raid 5 in c.
i have this project to do and i don't know how to do this?can anyone just tell me the steps involved in this?Do we need to...
here is an example of BASH Substring Extraction
dateString=YYYYMMDD
# 0-based indexing.
year=${dateString:0:4} # YYYY
month=${dateString:4:2}...
http://publications.gbdirect.co.uk/c_book/
http://www.acm.uiuc.edu/webmonkeys/book/c_guide/
http://www.cppreference.com/wiki/c/start
what i need is a kind of "nattach" info for semaphores, like there is for shared memory when calling "ipcs" on console.
but a hash makes sense only if you want to compare several times. if you only need to compare to the last packet, you should use memcmp(). or make the server stop sending multiple packets of the same...
any hash function will do.
examples:
a fast one (32bit): djb2(xor) from http://www.cse.yorku.ca/~oz/hash.html
a strong one (64bit, less collisions): http://www.larc.usp.br/~pbarreto/WhirlpoolPage...