10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi---Is there's way can write small shell script or perl script open "abc.txt" file and create new "new_abc.txt" file with format output below? Thanks
Contained with this README.TXT file are all of the
file... (7 Replies)
Discussion started by: dotran
2. Shell Programming and Scripting
I have to increase the date by one week in an input when script is executed in solaris. I was able to acheive this using ksh script that is working in Linux enivironment, when i execute the same script in Solaris i am getting below error:
date: illegal option -- d... (3 Replies)
Discussion started by: sriramanaramoju
3. Shell Programming and Scripting
I have a local.conf file which has the first line
TOPDIR = "/home/mvdev/workspace/boxer". I want to replace the value to
"/home/common/workspace/mirror". I tried the following perl command that is
perl -p -i -e 's/Path/path1/g' myfile.txt then
sed... (7 Replies)
Discussion started by: amvarma77
4. Shell Programming and Scripting
I have a directory that contains several files, out of which some files are have an extra extension for example
i want to write a shell script that rename all such file with only single extension like
file1.new... (7 Replies)
Discussion started by: mukulverma2408
5. Shell Programming and Scripting
I am writing a simple DHCP server application that gets ip from a server at boot up ! i wrote a shell script to run the java program that obtains ip from server on another machine...
The problem is when i have obtained the ip i store it in a file ! using awk i retrieve the... (1 Reply)
Discussion started by: dinesh17
6. Shell Programming and Scripting
I had tried to executes this script to change the user password through script:
No lines in buffer
cat /etc/passwd | grep -v userid >> /tmp/pass.tmp1
cat /etc/passwd | grep userid >> /tmp/pass.tmp2
PASS1=`cat /tmp/pass.tmp2 | cut -d ":" -f2`
sed... (3 Replies)
Discussion started by: indrajit_renu
7. Shell Programming and Scripting
I'm working on a script to make automatic the new releases of my website...
However in this script I put all the css script in a single one. There's no rpoblem for that.
My problem is when I want to change the header of my layout page to put instead of :
$header.="<link rel=\"stylesheet\"... (2 Replies)
Discussion started by: lahabana
8. UNIX for Dummies Questions & Answers
I searched the forum, but there was different type of rename.
I have files in folder.
and how to rename or change file extension case to
or (5 Replies)
Discussion started by: Sheldon
9. Shell Programming and Scripting
When I run the below script in UNIX it's throwing syntax errors. Actually it's a windows batch script. Could anyone change the below Windows Batch script to UNIX shell script...
REM :: File Name : Refresh_OTL.bat
REM :: Parameters : %1 - Region
REM :: : %2 - Cube Type
REM ::... (5 Replies)
Discussion started by: tomailraj
10. Shell Programming and Scripting
I have a shell script that has following entry.
if ; then
if ; then
MEM_DEV_ARGS="-XX:CompileThreshold=8000 -XX:PermSize=48m "
# Had to have a separate test here... (3 Replies)
Discussion started by: rijeshpp