7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am trying to get a dollar sign variable to be expanded in single quotes. Not sure what I am doing wrong. I have tried every way I can think of.
for i in `cat file1`
do
for j in `cat file2`
do
ssh $i 'systemctl is-enabled "${j}" ';
done
done... (4 Replies)
Discussion started by: cokedude
4 Replies
2. What is on Your Mind?
Hi,
I was just working on the new usercp and found that the "change your email address" function does not seem to work. In fact, it seems like it has never worked when I look at the code and the database. There seems to be some code missing from a decade ago, but I could be wrong.
Could... (9 Replies)
Discussion started by: Neo
9 Replies
3. UNIX for Advanced & Expert Users
I'm looking at a config file with dollar signs. What do the dollar signs mean in front of a directory?
dir = ./demoCA # Where everything is kept
certs = $dir/certs # Where the issued certs are kept
crl_dir = $dir/crl # Where the issued crl are kept
new_certs_dir = $dir/newcerts # default... (1 Reply)
Discussion started by: cokedude
1 Replies
4. Red Hat
Hi,
How to find ip address of Linux servers ?
I know by ping command we can find ip address but wanted to check with you.
Thanks,
Maddy (5 Replies)
Discussion started by: Maddy123
5 Replies
5. Linux
Please help me, wasted hrs:wall:, to find this soulution:-
I need a command that will work on file (xml) and replace multiple occurrence (more than 2 times)
Examples
1. '==='
2. '===='
3. '======='
should be replaced by just '=='
Note :- single character should be replaced. (=... (13 Replies)
Discussion started by: RedRocks!!
13 Replies
6. UNIX for Advanced & Expert Users
Hi gurus,
I'd like to know your opions about Single Sign On (SSO) for linux (Debian). In my company, clients want to access to different services (FTP, HTTP, Mail, Web Applications ). I think about OpenLDAP and Proxy (Squid, Vulture) to resolve this problem but i'm not sure if they can. Are there... (0 Replies)
Discussion started by: thanhdat
0 Replies
7. Shell Programming and Scripting
I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem.
I need... (1 Reply)
Discussion started by: Glider
1 Replies
UUID_COMPARE(3) Libuuid API UUID_COMPARE(3)
NAME
uuid_compare - compare whether two UUIDs are the same
SYNOPSIS
#include <uuid/uuid.h>
int uuid_compare(uuid_t uu1, uuid_t uu2)
DESCRIPTION
The uuid_compare function compares the two supplied uuid variables uu1 and uu2 to each other.
RETURN VALUE
Returns an integer less than, equal to, or greater than zero if uu1 is found, respectively, to be lexigraphically less than, equal, or
greater than uu2.
AUTHOR
Theodore Y. Ts'o
AVAILABILITY
libuuid is part of the util-linux package since version 2.15.1 and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
SEE ALSO
uuid(3), uuid_clear(3), uuid_copy(3), uuid_generate(3), uuid_is_null(3), uuid_parse(3), uuid_unparse(3)
util-linux May 2009 UUID_COMPARE(3)