Advertisement

900 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%!

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top Unix Solutions: 1 - 25 of 101
 
Sun Server Version : SunOS 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V890 Top.cls , dl  command is not working in solaris 10 bash: top: command not found Please give me the step...
I have the following shell script on the unix  (emis/bin/products.sh).  Also, there is a two character parameter that the sh file needs to send.  (ex)  emis/bin/products.sh  XX I would lik...
I have an SQLLDR control file where fieldA that is going into the DB at times contains a double quote.  I have tried to parse out the " in the following way: ... fieldA "replace(:fieldA, '...
Hi, I am getting different set of values in a variable. These values can be adminWash4567.sh adminWash4567.txt eastLA7456.sh eastLA7456.txt westLA7825 oldSFB8523 etc. I basically am trying ...
We have AIX 5.3 server  Our storage team plannning to upgrade firmware on storage boxes. So they are asking us to check latest SDDPCM has been installed on our servers or not ? How to identif...
How to read a core file in unix. It is not having any extension and it is not readbale.
hi, I would just like to ask regarding procedures in implementing iSCSI with AIX 5.2, using an iSCSI software initiator, and a NetApp FAS270. Apparently Im pretty much clueless in what to d...
Hello.. I want to replace a word located in almost 512 files on my servers and these files are at various locations. So can someone help me with a script to find the text and replace it wi...
Hi, I have a file containing numbers and need to put in an array. The numbers are as follow : (num.txt) 10, 34 23, 33 10, 5 1, 3 1. How to read this text file ,  num.txt 2. How to pu...
How do I print every 10th line of a file from UNIX shell. I need a grep/awk/sed command which can help me print every nth line of a huge netflow data which I am trying to sample
I've been using a perl script that allows me to run an rsync command to copy jpg image files from one location to another, but it takes freakin' forever due to the pattern matching.  I have to...
I am using UnixTools in Windows environment. And I have many very huge .csv files in the folder. I want to compress all the files. Can you pls advise me tar or gzip is good. And please send me...
Hi all, how do i assign wc value to a variable? ps | grep -v grep | grep "sh" | wc -l I tried : count=`ps | grep -v grep | grep "sh" | wc -l` count=$(ps | grep -v grep | grep "sh"...
How to remove blank spaces and DOS line break in a DAT file from UNIX script unattended (through sh file) Would prefer NOT to create new file. Using some script to clean-up (blank spaces & ...
I have a mixture of Unix systems on which UID and GID are inconsistent. I want to make them consistant. I want a script which intakes new_UID and new_GID  files and compares it with the pr...
Hi, Only 2 days ago, I was able to display admintool's output to this very same PC from the very same Solaris server just by doing : a) start Xming Launch & just click Next, Next, Finis...
I have a V100 with 2 NICs.  I am trying to set up IPMP for failover using the fewest amount of IP addresses. root@jm091# ifconfig -a                                                         ...
Question: In our AIX 5.1 server su is not working and login as: av48ch av48ch@xx.xx.xx.xxx's password: Last unsuccessful login: Fri 18 May 07:41:22 2007 on /dev/pts/0 from xx.xx...
Would like a user to run a script that changes a file permission for her. This are the file permissions -rwsrwsr-t file.sh But any other user apart from script owner cannot run the script...
Hi, Below is a segment from my command line. I am trying to implement a quota on the webserv group, which is the group that will only have access to the Document Root directory for serving ...
Long story short, I create a LOT of temp accounts for short term programmers from other lands. What is the easiest way to verify they have an account and the password works WITHOUT using i...
I want to count how many users accessing our unix server. The unix command should do the following : i. list all users logged in to the server ii. list of all users that their id , letsa...
Hi, I am in my home directory, and I want to delete all the files that contain the string "getcode" in the filename using the rm command. I have thousands of files that were created via ...
I have written two crontab entries using the following syntax: 0 0 * * * tar cf CRM | ncftpput -u ***** -p ***** -c ***** /sugar_backup/sugar_files.tar This creates a tar archive of the ...
In our aix 5.1 server we have missed root passwd. So we are unable to get root access. This is server which is located in remote place .we don't have console access for this server. How to res...