Feeds:
Posts
Comments

Archive for September, 2012

I belive in Angels

I belive in Angels

I belive in Angels, too!

Read Full Post »

Hi all,

One of my txt file has common format like [1]. And I need to manually assign variable to “/a/b/c/file1/txt” , which has common text before “Calculated summary file:”.

I wonder if I can use some command to do that for me, that it read the file and check for that comonn text and assign…

Read Full Post »

Hi,

I run Fedora 17.

I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space…

Read Full Post »

Hi All

I can’t get my head around a problem I have with a control file.

The file is to control a “Listener” of sorts that listens on a named pipe. A script kicks off the listener in the background and passes it a control file. In the file it sets the Status field to pending. It then waits…

Read Full Post »

how we can split characters of a field? for example if we have a file such like below:

Code:
———

20120102 120352.5AM

———
i want to get out put like this:

Read Full Post »

Hello
I am trying to remove a line like
Now i want to scan all…

Read Full Post »

Im trying to make a vga program for linux Im wondering if anyone knows of a simple document on the subject or if someone could show me some basics. What system calls should I use what parameters should I give them. How do I draw a line of pixels green after in vga mode. I prefer nasm but I can use…

Read Full Post »

I’m trying to get the output from awk into a bash array. Here is my script.

Code:
———
#!/bin/bash
while :
do
app=$( osascript -e “tell application \”System Events\” to return name of every process whose frontmost is true” )
echo “$app”

Read Full Post »

Hi,
I have an input file with below data and rules file to apply search and replace by each field in the input based on exact value or pattern.
Could you please help me with unix script to read input file and rules file and then create the output and reject files based on the rules file.
Input…

Read Full Post »

I’m trying to change the string cases for a particular column, but can’t figure how do to it with sed. Example:

Strings (space as delimiter):
write group MYGROUP MySpecialGroup /local/users/mygroup
write group HISGROUP HisSpecialGroup /local/users/hisgroup
write group HerGroup…

Read Full Post »

Older Posts »