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.

 
Time Tested Unix Solutions: 1 - 25 of 1168
 
I want to display all files and directories and sort by date (similar to dir /od in Windows). Is there a way? If it can't be done with ls or if I have to pipe the putout to some other command,...
Hi, I am wondering how can I exclude a directory from a tar file? Any help would be appreciated. Thanks
Looking for syntex for mailx command to have file go as an attachment. When sending file as text I type mailx -s "My Email Topic" johndoe@somesite.com < mytext.txt and the text appears as t...
Hi all, Actually what is the different of command: "init 6" and "reboot"? I checked the manual, these two commands are also for reboot use. If I reboot the server in routine weekly duty,...
i am trying to check if a file exists before continuing with my script but it is not working. if [ -e $filename ] then file_menu    #calls the function file_menu if file exists else ech...
hai friends,        Is there any command in unix to find the Oracle version number of a oracle that set in the ORACLE_HOME environment variable. Thanks
I have a text file im trying to parse out information after a certain line with a keyword. After this keyword all the information below it is important to me, but for some reason its strippin...
Hi, I need to write a generic installation script.  So for example we would run a set of sql scripts, so there would be a file with all the scripts to run in and the installation script wou...
Is there an easy way to convert GMT to say eastern within a shell script?  Can someone provide an example? thanks
Hi, I have a unix shell script (csh) that accepts a filename as an input. In the script I want to be extract the first 3 characters of the filename (not the content of the file) so that ...
Dear every expert, How to create a script to automatic telnet to a host? Thank You!
In unix mks shell the following error occurs $ seq=07 $ seq=`expr ${seq} + 1` $ echo $seq 8 $ seq=08 $ seq=`expr ${seq} + 1` expr: non-numeric argument "08"    <===== for 08 and 09...
I have a script that is run from "/logs/Portal" that removes ALL files in the "/logs/Portal/archive" directory older than 10 days.  Here is the syntax:  rm -f `find archive -type f -mtime +10 ...
I'm trying to backup a SCO UnixWare 7.1.0 system from the shell using find/cpio. Trouble is I don't want to backup one very large directory and I wondered if there is 'find' syntax to do this?...
I need a cool find command which can FIND a  particular string only (particular word only eg.  "foo"  not  foo@yahoo.com)  in directories/sub directories and output only the list of  files con...
OK.. I'm sure this question is very basic to most of you. .Just trying to get an understanding.. I have a bff file that I downloaded from the IBM website called perl.libext.2.0.56.0.bff . T...
I want to insure upper case and/or lower case in certain situations, mostly for parameters to a script. I saw this on EE but it didn't seem to work: paramL=${param} | tr 'A-Z' 'a-z' H...
1. I would like to check the occupied port being used and the appplication who use them? 2. Would like to check the free port available for usage.
Dear experts,    I would like to know as a regular unix user, how what commands can get the information of HP-UX system CPU clock speed (in MHz or GHz), memory size (in MB or GB), swap s...
I have a .txt file with a bunch of file names in it(new line terminated). These files are in the same directory as the .txt file is in. I want to copy all these files to a sub directory. So I ...
I have a user that wants to ftp a XLS file into Unix (solaris), I need a way to convert it from XLS to CSV. What can I use in Solaris Unix that can do this for me, or what kind of program do I...
HI I need to search a string in a file(unix) where ever it occurs,which has space as delimiter and convert that string to lower case ex: File content: ------------------------------------...
I need to decrypt a password stored in /etc/passwd. Is there a way to do this? I thought there might be tools that do brute force on it. (since unix passwd encryption is a one way encrypt).
Hello everyone! This is a novice's question, but until now I didn't have the chance to do it.   It is GNU's file, of course.   Let me know which command to use.   Thank you! Mitsuru