Search Results

Search: Posts Made By: Skrynesaver
9,871
Posted By Aia
With the command nmcli you could let it do it for...
With the command nmcli you could let it do it for you.

nmcli con mod "<your connection name here>" ipv4.dns-search <your domain search here>
nmcli con mod "<your connection name here>" ipv4.dns...
9,871
Posted By gull04
Hi, I'd think that the best way might be to...
Hi,

I'd think that the best way might be to modify the file and then run;

# chattr +i /etc/resolv.conf

This will stop the file being modified - However if the server is using DHCP to pick up...
8,495
Posted By Don Cragun
Note that rm -r my_directory will remove the...
Note that rm -r my_directory will remove the entire file hierarchy rooted in my_directory, but the for loop will only look for symlinks in my_directory; not for symlinks in subdirectories of...
751
Posted By Scrutinizer
AKA lazy matching as opposed to greedy matching
AKA lazy matching as opposed to greedy matching
Forum: Proxy Server 09-16-2014
12,440
Posted By jlliagre
The link is about setting up traditional ldap...
The link is about setting up traditional ldap authentication against an active directory.

Starting from Solaris 11, there is an simpler way, the nss_ad (name service switch / active directory)...
Forum: Linux 05-13-2013
2,053
Posted By Corona688
If you have b43 anything built into your kernel...
If you have b43 anything built into your kernel this will interfere with using the wl module.
Forum: AIX 02-24-2013
41,760
Posted By alister
tar is a lot like ps. Both tools are universally...
tar is a lot like ps. Both tools are universally deployed, but if you cross platforms, only the most fundamental options will work. Attempt something non-trivial and any semblance of...
2,735
Posted By bakunin
Actually, these are very good questions and i am...
Actually, these are very good questions and i am glad that you asked. It is always much more satisfying to teach someone willing to learn.



These are different language constructs. First the...
2,735
Posted By bakunin
w | tail -$(( $(w| wc -l) - 2 )) | tee >(cut -d\...
w | tail -$(( $(w| wc -l) - 2 )) | tee >(cut -d\ -f1|uniq | wc -l >/dev/stderr )

Lets start with the first part:

w | tail -$(( $(w| wc -l) - 2 ))

basically it executes "w" (see the man...
Forum: Solaris 10-13-2012
6,664
Posted By jlliagre
That depends on how you define "based on". ...
That depends on how you define "based on".
Microsoft hired one of the VMS main architects (David Neil Cutler) to redesign Windows and Windows NT was the result. NT was actually a pun: you add +1 to...
2,203
Posted By elixir_sinari
$head=$_;
$head=$_;
2,040
Posted By gull04
Hi Skrynesaver, The snapshot is a PIT copy...
Hi Skrynesaver,

The snapshot is a PIT copy of all the data in the ZFS, the new device can be an other ZFS that you created.

The ZFS snapshot will grow - quickly if there is a lot of write...
2,040
Posted By gull04
Hi, Probably better to use the zfs send and...
Hi,

Probably better to use the zfs send and recieve for this as follows;

zfs snapshot $DEVICE@now
zfs send $DEVICE@now | zfs receive -Fu new/device

This is probably a better way of doing...
1,458
Posted By Scrutinizer
Note: Double quotes around variable references,...
Note: Double quotes around variable references, will ensure that file names with spaces do get processed properly..
6,328
Posted By Scrutinizer
Hi, have a look here : Unix Tutorials/Programming...
Hi, have a look here : Unix Tutorials/Programming Tutorials/Shell Scripting Tutorials...
8,175
Posted By Scrutinizer
This behavior seems to be gawk-only. The other...
This behavior seems to be gawk-only. The other awks I tried display ARE just fine without quotes.
If I use
awk --posix -F, '$3~011{ print $2 }' file
or
awk --posix -F , '{if (match($3,011)) {...
29,646
Posted By Corona688
Keys were designed to handle this situation, and...
Keys were designed to handle this situation, and password logins are designed to prohibit this situation. ssh -- and most authentication systems -- go to some length to ensure a real human is typing...
1,835
Posted By Lakris
Hi! I hope this may help, for x in $(seq 1...
Hi!
I hope this may help,

for x in $(seq 1 ${#mystr}) do
eval "echo letter$x=${mystr:$((x-1)):1}"
done

It uses parameter substitution which is very handy when working with...
769
Posted By michaelrozar17
In GNU Sed you would need to escape the sign + in...
In GNU Sed you would need to escape the sign + in order to work.
2,447
Posted By radoulov
In the standard module POSIX.
In the standard module POSIX.
735
Posted By mirni
There is a small slip in the explanation: ...
There is a small slip in the explanation:
Should be
2,359
Posted By danmero
# awk -F....
# awk -F. 'NR==FNR{if(/^1/){f=$0;next};if(/^./){a[f substr($2,2)];next}}{if(/^[0-9]/)print $0,(a[$0])?"TRUE":"FALSE"}' PM09134500 config1h.txt
1.3.6.1.2.1.2.2:8 TRUE
1.3.6.1.2.1.2.2:7 TRUE...
1,031
Posted By Franklin52
echo $(expr length $word) or with ksh/bash: ...
echo $(expr length $word)
or with ksh/bash:
echo ${#word}

gives the length of the variable.
Forum: Solaris 10-30-2008
108,899
Posted By jlliagre
Here is the ksh oneliner I use. It needs some...
Here is the ksh oneliner I use.
It needs some reformatting to suit your requirements:
pfexec pfiles `ls /proc` 2>/dev/null | egrep '^[0-9]|port:' | grep -v "AF_INET6" | sed -e 's/sockname:...
Showing results 1 to 24 of 24

 

Featured Tech Videos

All times are GMT -4. The time now is 06:42 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy