Hi, I have a problem running my script.Here it is:
Well, what it actually does? Hmm... It supposed to do the following:
When it was first time run, the user would push 7 in order to give his interface (in the program $int). This interface would be written in a file in /home/alex/Documents/hakforothers/.Then, when the user typed an other number, the other programs should call this file and use it.(the 5 and 6 are unavailable for now)
Unfortunately, it says
Last edited by hakermania; 02-20-2010 at 11:29 AM..
Reason: to add something
Hi,
I'm a beginner to study linux program, I know use gcc can link one *.c file to a exe file, but how to link different source files(*.c) to a exe at once.
AnyBody know and tell me, thanks. (2 Replies)
Alrigt, I need to write a shell script where it counts the number of folders and files and dispays "My home directory has 'x' files and 'y' directories."
So, I was thinking of doing this.
set x = `ls | wc`
so, if I have 8 files and folders in my home directory, x is not 8.
now, I was... (1 Reply)
Me dumb. Can't get this to work...
#!/bin/sh
export JAVA_HOME_BAK=${JAVA_HOME}
or
#!/bin/sh
export JAVA_HOME_BAK=/usr/java
or
#!/bin/sh
export JAVA_HOME_BAK=$JAVA_HOME
or
#!/bin/sh
export JAVA_HOME_BAK $JAVA_HOME
etc.... none work.
Either i get: "JAVA_HOME_BAK=/usr/java: is not... (1 Reply)
Hello,
I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems:
1. When I execute the command ping, I get weird results:
bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
hi guys,
i have a DEl xps laptop cor 2 duo 2.2
i have vista installed on it
i want to install a dual Boot UNIX on it..
can some one guide me ...cause i m tottaly new to UNIX
i want to install unix on that laptop along with Vista....
thx
any help would be deeply appreciated
(sorry if i... (5 Replies)
Take a look on this code:
#!/bin/sh
currentpath=`pwd`
if ; then
#Normal user
if ; then
"$currentpath"/.cleaner
else
./runit
fi
else
#Root user
if ; then
rm -r /some
fi
mkdir /some
cd /home/
echo "`ls --group-directories-first -1`" > /some/allusers
cat /some/allusers | sed 's/... (17 Replies)
Hi people....
I have just started to learn unix.I want to know which version of Unix to install plus how to install it.I need to practise and make myself aware of how unix works.My thread is from an educational point of view.Also please feel free to give your suggestions as I am... (3 Replies)
Hi. I am new to C++. But I am trying to write a basic program that uses the command line. But...
$ ./myscript -s 1 -e 8 -c billy -v 1 -o test
I get output like this...
Starting Length = 1 Ending Length = 8 Name = (null) Output File = (null) Verbose = 1
How come 'Name' and 'Output... (2 Replies)
I'm relatively new to both UNIX and Linux and slightly less new at programming. But I can't figure out why this won't run properly.
It's meant to calculate the GCD of two numbers (simple enough, you'd think). And I designed it myself and it looks good to me and my instructor won't respond. If... (1 Reply)
i have windows 8 host on Dell Laptop
vmware 9
redhat 7.2 iso downloaded through redhat official site
after installation on vm it only boots into text dont show graphics
Please guide:( (1 Reply)
Discussion started by: hananabbas
1 Replies
LEARN ABOUT SUSE
gnutls_crypto_mac_register2
gnutls_crypto_mac_register2(3) gnutls gnutls_crypto_mac_register2(3)NAME
gnutls_crypto_mac_register2 - register a mac interface
SYNOPSIS
#include <gnutls/gnutls.h>
int gnutls_crypto_mac_register2(int priority, int version, gnutls_crypto_mac_st * s);
ARGUMENTS
int priority
is the priority of the mac interface
int version should be set to GNUTLS_CRYPTO_API_VERSION
gnutls_crypto_mac_st * s
is a structure holding new interface's data
DESCRIPTION
This function will register a mac interface to be used by gnutls. Any interface registered will override the included engine and by conven-
tion kernel implemented interfaces should have priority of 90. The interface with the lowest priority will be used by gnutls.
This function should be called before gnutls_global_init().
For simplicity you can use the convenience gnutls_crypto_mac_register() macro.
RETURNS
GNUTLS_E_SUCCESS on success, otherwise an error.
SINCE
2.6.0
REPORTING BUGS
Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software:
http://www.gnu.org/gethelp/
COPYRIGHT
Copyright (C) 2008 Free Software Foundation.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site,
the command
info gnutls
should give you access to the complete manual.
gnutls 2.8.6 gnutls_crypto_mac_register2(3)