LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old
Rating: 3 votes, 5.00 average.

Windows PowerSh**

Posted 08-12-2014 at 10:40 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 08-12-2014 at 11:15 AM by rocket357

grep is such a simple concept. You have a stream of text lines, and you look for lines in the output that match a pattern. Really, really simple.

Take the following, for example:

some-command | grep 'pattern'

I know this is difficult to understand because it's overly complex, but that's how things work on *nix.

Try doing that on PowerShell. You end up with something like:

(some-command|out-strings -stream) | select-strings...
Member
Posted in Uncategorized
Views 281 Comments 2 rocket357 is offline
Old
Rating: 2 votes, 5.00 average.

Adding [code][/code] tags to your posts

Posted 12-02-2014 at 06:23 AM by rtmistler
Updated 01-07-2015 at 06:49 AM by rtmistler

In LQ it is beneficial to use [code][/code] tags around your code.

All you need to do is to border your code with the [code][/code] tags and the result will appear as following:
Code:
#include <stdio.h>

int main()
{
 ...
}
Do I have to type the tags in, or are there widgets to help me with this?
In Advanced edit mode the # (number sign) icon will assist you with this, it will add tags around selected text, or add tags where you can then type...
Senior Member
Posted in LQ Information
Views 304 Comments 0 rtmistler is offline
Old
Rating: 2 votes, 5.00 average.

Exton|OS Light build 150202 :: Based on Ubuntu 15.04 with kernel 3.18.0-10-exton (3.18.3)

Posted 02-02-2015 at 10:30 AM by exton (Exton's Blog)

NEWS 150202 about Exton|OS Light Live CD – ISO file of 755 MB
I’ve made a new extra version of Exton|OS based on upcoming Ubuntu 15.04 (alias Vivid Vervet) 64 bit with only a minimum of packages pre-installed. Among them a terminal emulator (LXTerminal), a Web Browser (Chromium), PCManFM (file manager), NetworkManager, GParted (Partition Editor) and Synaptic (Package Manager). I give you the pleasure of installing all extra packages you need after a hard disk installation of Exton|OS Light....
ExTiX Admin
Views 223 Comments 0 exton is offline
Old
Rating: 9 votes, 5.00 average.

timer.c:331: fatal error: RUNTIME_CHECK(isc_time_no w((&now)) == 0) failed

Posted 03-09-2015 at 10:34 AM by MensaWater

Posting this because all I found on line were multiple links to a single google post about this error.

On a RHEL5.10 system this morning I did a "dig" and got the error:
timer.c:331: fatal error: RUNTIME_CHECK(isc_time_now((&now)) == 0) failed

Clearly the message is related to time and in the US this past weekend we switched to daylight saving time (in my case we went from EST to EDT). Initially I thought it was because the system I was on didn't...
LQ Guru
Posted in Uncategorized
Views 260 Comments 0 MensaWater is offline
Old
Rating: 42 votes, 4.90 average.

Simple Mass File Renamer & Deleter [Python]

Posted 09-17-2008 at 12:01 PM by ghostdog74

I am so bored today, that i started creating a command line batch file renamer, tested on Linux with Python 2.4.
Some of the simple things it can do is:
1) Change upper case to lower case and vice versa
2) Change file names by pattern substitution
3) Change file names by number sequence
4) Insert pattern in front of files
5) Insert pattern at the end of files.
6) Simple sort by number.
7) Manual revert of changed files.
8) Deletion...
Senior Member
Posted in Uncategorized
Views 8162 Comments 0 ghostdog74 is offline

  



All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration