NetAdminTools.com
 
SignalQ Sites:
L1G3R Information Systems - Coprolite - SpotBridge - NAW
RoboCoop - AreWeDown - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - FixRambler
SolarPower - solarenergy.net - Energy Efficiency - Solar Panels
Home Energy Savings
Categories:
GNU/Linux | Homebrew designs | Perl | Ruby | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | ERP | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Ruby
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·ERP
·REALbasic
·All Categories


Retrieving Group Membership for Active Directory from the Command Line
Topic:admin   Date: 2013-02-22
Printer Friendly: Print   Mobile View: mobile

Subject

To create a list of regular users in an Active Directory group using the CLI:

dsquery group domainroot -name groupname | dsget group -members | dsget user -fn -ln

  fn             ln

  John          Brown
  Bill          Smith

dsget succeeded


Getting Rid of WordPress Comments Off
Topic:web   Date: 2013-02-20
Printer Friendly: Print   Mobile View: mobile

Subject

Perhaps you can override this; however, if you want a quick hack to not display "Comments Off" on Wordpress blogs that you don't have comments on, find these lines in wp-includes/comment-template.php:

        if ( false === $zero ) $zero = __( 'No Comments' );
        if ( false === $one ) $one = __( '1 Comment' );
        if ( false === $more ) $more = __( '% Comments' );
        if ( false === $none ) $none = __( 'Comments Off' );

Just change "Comments Off" to whatever you want.


Rename All Filenames With Spaces to Underline
Topic:gnulinux   Date: 2013-02-10
Printer Friendly: Print   Mobile View: mobile

Subject

If you want to just rename a space to an underline in all filenames in a directory, try:

for fname in *; do mv "$fname" `echo $fname | tr ' ' '_'`; done



Recent Entries:
Getting Rid of WordPress Comments Off2013-02-20
Rename All Filenames With Spaces to Underline2013-02-10
Fixing WMI Corruption on Windows 72013-02-03


Keywords:
---------------------People ------------------
---------------------Places ------------------
---------------------Things ------------------
active directory Retrieving Group Membership for Active Directory from the Command Line2013-02-22
ansicolor Ruby Loops and ANSI Color2010-11-14
armdroid HP and the Business Domain2011-08-21
cloud HP and the Business Domain2011-08-21
document management HP and the Business Domain2011-08-21
dsquery Retrieving Group Membership for Active Directory from the Command Line2013-02-22
easytag Funky MP3 Car Players, and the Scripts That Load Them2012-06-09
facebook HP and the Business Domain2011-08-21
file massage Rename All Filenames With Spaces to Underline2013-02-10
gtk Converting a Rails App to present with GTK2010-12-19
hp HP and the Business Domain2011-08-21
id3v1 Funky MP3 Car Players, and the Scripts That Load Them2012-06-09
id3v2 Funky MP3 Car Players, and the Scripts That Load Them2012-06-09
ipod Funky MP3 Car Players, and the Scripts That Load Them2012-06-09
loop Ruby Loops and ANSI Color2010-11-14
mcj Adding Hostname to Wordpress2012-09-22
Backing up WordPress via Import/Export2012-09-22
Finding Files Over a Certain Size2012-09-22
Split Large Files Into Smaller Pieces2012-10-13
mcse Tools and Information for Network and Systems Administrators1997-06-01
mediawiki Customizing the MediaWiki Toolbar Signature2013-01-13
micropolis Running Native Sim City on Ubuntu2012-07-08
mp3 Funky MP3 Car Players, and the Scripts That Load Them2012-06-09
musicbrainz Funky MP3 Car Players, and the Scripts That Load Them2012-06-09
oracle HP and the Business Domain2011-08-21
passenger Passenger Memory Stats2010-11-16
procinfo Procinfo2006-06-15
rails Converting a Rails App to present with GTK2010-12-19
ror Tools and Information for Network and Systems Administrators1997-06-01
ruby Ruby Loops and ANSI Color2010-11-14
Converting a Rails App to present with GTK2010-12-19
slimserver Funky MP3 Car Players, and the Scripts That Load Them2012-06-09
sqlite Dumping SQLite Table Structure2006-08-26
sync Sync Sync Halt2003-07-28
Funky MP3 Car Players, and the Scripts That Load Them2012-06-09
ubuntu Running Native Sim City on Ubuntu2012-07-08
vnc Using Rdesktop To Access Windows Terminal Services From A GNU/Linux Client2003-03-18
wikieditor Customizing the MediaWiki Toolbar Signature2013-01-13
windows management instrumentation Fixing WMI Corruption on Windows 72013-02-03
wmi Fixing WMI Corruption on Windows 72013-02-03
wordpress Backing up WordPress via Import/Export2012-09-22
xfce4 Xfce Tips2012-01-01
--------------------- Times------------------
summer 2010 Tools and Information for Network and Systems Administrators1997-06-01
Please read our Terms of Use and our Privacy Policy
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2012 NetAdminTools.com