Search Results

Search: Posts Made By: dhinge
14,227
Posted By dhinge
uid=0(root) gid=0(root)...
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
14,227
Posted By dhinge
editing /etc/group
I use usermod -g dave devgroup, I can edit files under group devgroup, but when I check the /etc/group file, my name is not listed with devgroup.

Do I have to reload the /etc/group file or...
5,429
Posted By dhinge
replace text in multiple files
I need to replace a piece of text in many files, recursively, in a way that doesn't duplicate the files. How would I do that?

The closest I've come is
grep -rl "text" * | sed -e...
371,622
Posted By dhinge
So how do you change the target of a symlink?
So how do you change the target of a symlink?
9,021
Posted By dhinge
refresh user profile
Scenario: a non-root user is under primary group "devel" and I change their primary group to "nondevel"; I then want to be able to give the user a command which refreshes their user profile so that...
3,782
Posted By dhinge
I found it
I found it
3,782
Posted By dhinge
File creation and auto-group assign
How do I make a file automatically get assigned a group that the user that created it is in?
Forum: SuSE 01-27-2007
6,109
Posted By dhinge
If you mean "try connecting to Windows Exchange...
If you mean "try connecting to Windows Exchange Server through GAIM", yes, we've tried, before I even posted, many many many times, surfed pages of web documents, forums, you name it.

*** Deleted...
Forum: SuSE 01-27-2007
6,109
Posted By dhinge
Please try and post what here? My question? My...
Please try and post what here? My question? My question was: is it possible for Gaim to connect to a Microsoft Exchange Server IM, such as Windows Messenger. That's a yes or no question.
10,180
Posted By dhinge
double-dash options
I need to create a file that accepts arguments and options, and the options have to allow for single-dash options (-abc) and double-dash options (--help). What is the best way to do this? Getopt(s)...
8,154
Posted By dhinge
getopt(s) source code?
Does anybody know where this is located? Both for getopt and getopts
Forum: SuSE 12-26-2006
6,109
Posted By dhinge
Gaim connect to MSN exchange
Is it possible for GAIM to connect to an MSN Exchange Instant Messaging server?
Forum: Linux 12-11-2006
8,301
Posted By dhinge
Downloading OpenSuSE 10.2 DVD ISO with Internet Explorer
Hi, not sure if anybody else has run into this problem, but when I try to download a 3.61 GB ISO file from opensuse.org, Internet Explorer will save it as a 0 kilobyte file. Occasionally when I click...
16,885
Posted By dhinge
!@#$, I finally figured it out. A while loop...
!@#$, I finally figured it out. A while loop prints it all funny like that, but a for loop lets me print it unpaced, on one line:

awk '{ for(i=1;i<NF+1;i++) printf $i }' answer
16,885
Posted By dhinge
I see. The problem is, I need all the values...
I see. The problem is, I need all the values strung together, unspaced. So if the file has 1 2 3 4, I need it to be 1234 in the bash variable. So far I haven't found a way to get awk to print them...
16,885
Posted By dhinge
awk redirect output to shell variable
I'm trying to redirect awk's output to a BASH variable. Currently the statement looks like this

options=`awk '{ while (i < NF) { print $i; ++i } }' answer

but for some reason that makes...
5,225
Posted By dhinge
sorry, I mean the "dialog" function in Linux....
sorry, I mean the "dialog" function in Linux. Right now all I see is the ability to output to a file, like when you have checklist values.

dialog --checklist "Choose topics:" 10 40 3 \
1 "first"...
5,225
Posted By dhinge
dialog output
is there a way to make dialog output chosen values to standard stream? or append to a file?

thx
3,188
Posted By dhinge
Wow, that's awesome Ygor! I was using regular...
Wow, that's awesome Ygor! I was using regular expression slashes / / instead of quotes in my match() statement, and it printed out every single line of the file, but stripped out the commas... ?!...
3,188
Posted By dhinge
I can't believe that works. Yah, the string...
I can't believe that works.

Yah, the string is coming from a CSV file. I'm actually using awk to grab the field, but it doesn't appear to be able to filter it.
3,188
Posted By dhinge
ah, thanks Unfortunately the first one gives...
ah, thanks

Unfortunately the first one gives a syntax error in the bash script, but it works somewhat at command prompt (though it leaves the postcode).

python unfortunately isn't a command in...
3,188
Posted By dhinge
filtering zipcodes with bash or awk
What is the best way to filter a 5 digit number from a string like this:

"84047-9920"

I need to remove the quotes, dash, and the four-digit zipcode. So far all I've found is gensub() which will...
Showing results 1 to 22 of 22

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