Quantcast
Channel: UNIX and Linux Forums
Browsing all 16232 articles
Browse latest View live
↧

Match child with parents and form matrix

thank you for letting me join this forum, lots of learning opportunities looks like. Myself a biologist, very new into unix, so please excuse if I use incorrect language. I am using cygwin on windows,...

View Article


Extract directory name

Hello guys. i have several backup servers which i have to monitor them daily. now i want an script to use the backup directory and put it in output variable. my backup files look like this: Code: [ll...

View Article


Naming file with special characters ?

Hi all, I have a problem with file naming in linux. I have to create a file named like 11/22.csv but shell displays error: no such file or dir. Problem is / character in the file name. I searched unix...

View Article

Where can I get Sun Ultra 20 tools & drivers when Oracle abandoned them?

I'm in a desperate pursuit for Tools and Drivers CD for the six of my Ultra 20 M2 workstations - some of them have latest BIOS, some of them don't. Oracle doesn't support them anymore - I even bought...

View Article

How can I search and delete mail?

Hi, I'd like to delete emails on one of my Linux boxes using a criteria and I don't really know where to start. Any suggestions? The emails I'd like to delete have all the following sub-string:...

View Article


awk - Print lines if only matching key is found

I am looking to move matching lines (01 - 07) from File1 and 77 tab the matching string from File2, to File3.txt. Currently, script is printing all lines, to File3.txt, from File1.txt even if there is...

View Article

List of services, package names and status on AIX.

Hi Guys, I am using lssrc -a | awk '{print $1}' to list the services running on AIX box. However, I need to display the corresponding package name, install location and the status along with the listed...

View Article

Timestamp conversion

Hello All, I have a file with many timestamps as in below format & example: Code: 20150130105120 2015-> Year in YYYY 01-> Month in MM 30-> Day in DD 10-> Hour in HH 51-> Minute in mm...

View Article


Crosstab

Good day everyone... I need help to do crosstab over my file input input Code:...

View Article


Script syntax help

Code: #!/bin/bash if [ -z "$1" ] ; then echo "Lipsa IP"; exit; fi i=1 ip=$1 while [ $i -le `wc -l pass_file | awk '{print $1}'` ] ; do if [ -n "$ip" ]; then rand=`head -$i pass_file | tail -1`...

View Article

Bulk NIS Users Password Change

Hi All, I am having Solaris 5.10 acting as NIS. How do i change multiple user password in NIS in a batch. I have predefined users with their passwords to be set: Example: user1 password1 user2...

View Article

SUSE Linux Enterprise 12

Is there any SUSE enterprise 12 x86_32 version available? I have SUSE enterprise 12 x86_64 and I am unable to compile 32 programs in that. It looks to be that gcc compiler (32 bit) does not come with...

View Article

Image may be NSFW.
Clik here to view.

Small problem

hello, i am a newbie and i really need your help i have an centos 6.5 and i wonder if i can create a list with random 4 letters : Code: gdjf ornc tyrn jfdn nofd etc.... if it can be done , i will...

View Article


I need help

hello, i am a newbie and i really need your help i have an centos 6.5 and i wonder if i can create a list with random 4 letters : gdjf ornc tyrn jfdn nofd etc.... if it can be done , i will really...

View Article

Text manipulation

i want to generate a list line-by-line of normal characters using letters . for example : dnds gnos mgod pets jnfp etc... i want to use all letters with all the posibilities is there a script that can...

View Article


Struct as return type

Hello all, I am trying to define a function with return type as struct, but seem to be failing. Error I am receiving is following Code: .CC error: prototype for 'RpcHOData...

View Article

Problem installing htpasswd2

Hey everyone! So as i finished setting up my apache2 server, I wanted to look into some basic authentication for the web page. I found a great guide on apache.org. The problem now is, the htpasswd2...

View Article


BASH Internal : Replace pattern with string without external command

Morning, I'm trying step up my scripting game .. :rolleyes::confused::D Is there a way to do the replacement with an or without using an external command ? I did try but no joy. Code:...

View Article

Trouble setting up basic user authentication on apache2 web server

Hey guys! So I decided to set up some basic user authentication on my apache2 server, and I am running into some problems. I followed the documentation provided by apache on their website, but I cant...

View Article

Round off Number in File

Hi Guys, i am having a csv file where i need to round off numerical column to 2 decimal precision in specific columns. i need to ignore the first two line i.e the header columns and manipulate rest of...

View Article
Browsing all 16232 articles
Browse latest View live