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

JumpStart add pkg package

I have one question about Jumpstart Server. I have OS Solaris 10 10/06 x86 on my PC. I use NFS for share flar archives. I create tftpboot macros for DHCP - dhcpmgr. My clients file is here: Code:...

View Article


awk script for automating the other commercial software command lines

Dear All I need awk script to automated the other software command lines. I am having input files like "shape_eon_input_1.oeb.gz" to "shape_eon_input_968.oeb.gz" total of 968 files. For each files i...

View Article


awk - writing matching pattern to a new file and deleting it from the current...

Hello , I have comma delimited file with over 20 fileds that i need to do some validations on. I have to check if certain fields are null and then write the line containing the null field into a new...

View Article

Hardware Diagnosis

Hello everyone, I'm having an odd problem I've never encountered before and I'm at the point where the only things I have not replaced are the CPUs, Motherboard and Power Supply. The errors: Code:...

View Article

Temporary disable of users

HI Gurus can I temporary disable users to connect to Solaris, need help Regards

View Article


Emergency grep/delete trouble!!!

Hi everyone, thank you so much for reading. I built a user reference page from /etc/password for a class project. Now I need two shell scripts: 1) Add names to the reference page 2) Delete names from...

View Article

Is grep bi-polar?

I am trying to write a shell script for fun that would allow me to grep words from selected text files and delete them. Can anyone help me? Thanks- Tinorino

View Article

Executing a shell script

Code:...

View Article


Cannot compile tme-0.8

I follow the instructions on the website. I have used a shell script to export LD_LIBRARY_PATH The website says sh ./configure and make Sorry, this website says that I cannot post any URL, you can find...

View Article


Recursive find / grep within a file / count of a string

Hi All, This is the first time I have posted to this forum so please bear with me. Thanks also advance for any help or guidance. For a project I need to do the following. 1. There are multiple files in...

View Article

Get the previous month from date

Hi All, I am using the below code to get the year and month from date: Below gives output like 201212. Code: dt=`date '+%Y%m'` how do i get the previous month value(ie: subtract 1 from date) example...

View Article

Find files with specific date

Dear all, kindly i have some files with different dates i need to grep word from these files but i need to search in files with date 2012-12-02 not all files in this directory do u have any command

View Article

Extract line between two patterns

Hi All, I need a script to extract a lines between two patterns.I have done this using grep,cut,tail and head.But its very slow, because my input file contain more than a lakh. Code:...

View Article


UNIX career path

Hi All, This question is regarding career path. I was not sure about which forum I should drop it, so putting it here. I have 12 years of experience on UNIX i.e. majority of Solaris and some of Linux...

View Article

Image may be NSFW.
Clik here to view.

Problem with file redirection in while

I've got a problem with file redirection in bash, in loop while (in my script done < bufor.txt). In every consecutive iteration there's a possibility that to the bufor.txt will be added some lines....

View Article


scp list of files using FOR LOOP in ksh

hi i want to scp files from remote server B to my local server A... and i have a file containing list of all files to be scped from remote server B there is a passwordless connectivity set between...

View Article

Need help in UNIX Shell Scripting

Requirement is :- 1. there will be daily monthly and on demad flat files coming in SourceDir folder in unix. I want that if daily files are copied in the folder then my script shd check that if files...

View Article


Pdf2ps package Required

folks I need pdf2ps for solaris 10 for SUN architecture. tell me its link from where I can download and steps to install and configure.

View Article

How to get file from other server?

Hi ii have 2 server with deferent IP In the first i have this file in var/etc : file1 / file2 ho to get it in the second server i use debian server

View Article

X bytes of 0, Y bytes of random data, Z bytes of 5, T bytes of 1. ??

Hello guys. I really hope someone will help me with this one.. So, I have to write this script who: - creates a file home/student/vmdisk of 10 mb - formats that file to ext3 - mounts that partition to...

View Article
Browsing all 16232 articles
Browse latest View live