Script to move .300 extension file from 1 dir to other and email
Hi, I am looking for a shell script which move .300 extension files from /home/sofia/ to /home/sofia/test and sends me an email with the list of files moved like this :- Code: The following files has...
View ArticleStar/Libre/Open/???-Office for Solaris 11.2 ?
It's been a few years since this topic was last asked and answered.. curious whether anyone knows if the landscape has improved? looking for a more modern release of OpenOffice / LibreOffice / etc than...
View ArticleCreate an unconfigured VMware host from a template that is set to do...
I have an Oracle Linux 7.1 vsphere host built. It's be preconfigured with our security configurations. What I would like to do is unconfigure this host. Then set the host to do firstboot --reconfigure....
View ArticleMemory space
It would be great if you tell me how to check the ram memory size in unix machine[HP unix] Code: RAM memory size check
View ArticleNeed to create multiple threads
Hi , i need to run multiple scripts parallely ,on my server....i have 8 cpus . planning to run minimum of 6 scripts paralley ....could you please suggest someone . thanks in advance ,
View ArticleHow can i restrict user high cpu usage?
HI In my M5000 , one of domain is having SAp installed. from today onwards we are facing some stange issue. when we start SAP application, that particular user is taking 95 % of system CP and renaming...
View ArticleUsing sed with bash variables
Hi Guys I have another problem I'm trying to solve and hope that some one can help me here. This is the scenario: I have a file and I want to add a line on the 3rd line of the file using a bash script....
View ArticleHow to Understand file writing in Progress in UNIX?
Hi All, I have a requirement, where i have to pool file A data to file B continuously and need to process the data in the file B. Since the data need to be processed only once so i have to truncate the...
View ArticleFinding Oracle form Version UNIX
I'm trying to find the version of the underlying Oracle forms from out Unix Server. I have tried Code: frmcmp.sh -h but I get the error Code: frmcmp.sh -h : not found Its a Unix Sun server running an...
View ArticleRemove new line for a particular place
Hello All, I have a text file which gets uploaded to tables using shells script. However before running that script I need to alter it, like in the below I have to firstly find the word 1234 and remove...
View ArticleHow do I make activities appear in SYSLOG file?
SUSE Linux 11 and 10 SP3. I am trying to capture some of my activities in SYSLOG file, var/log/messages. To do this I created and dropped some test files and directories and users. But these activities...
View Article-ne 0 doesn't work -le does
Hi, I am using korn shell. Code: until [[ $# -ne 0 ]] do echo "\$# = " $# echo "$1" shift done To the above script, I passed 2 parameters and the program control doesn't enter inside "until" loop. If I...
View ArticleThe "Original" UNIX License
After all these years, I am retiring and have decided to try to find a better home for my "Unix License'. This is the plate that from DEC, given out to conference attendees in 1980. It says: Code:...
View ArticleWhere should I ask my question?
Hello, all I found you folks by doing searches on linux bash scripting From time-to-time I'm hoping to get help from the experts here. I'm technically competent enough with Windows to run my own...
View ArticleEulora, a Linux-based MMORPG, holds first game event.
This Sunday, June the 7th, players in attendance will be given unique items engraved with their name. The items can be used to generate free in-game currency on a daily basis, which is particularly...
View ArticleConcatenate rows and redefine range
I'm trying to find a way to concatenate consecutive rows (key is column $1 and $2) if column $5 an $6 are integers and redefine ranges in columns $3&$4 and $5&$6 Unfortunately I'm still...
View ArticleRemote script over ssh execution issues.
If I execute below code I am able to get string from column8 and column10 about a process. Code: serverA1$> ps -ef | grep rotate | grep 'config' | awk '{print $8" "$10}'...
View ArticleI need a "launch" icon
I am having an issue with my Bash scripts running on PCLinuxOS. I modify them in my ~/Documents folder - then I move them to /usr/local/bin. I also mark them executable. When I run them in a console...
View ArticleSearch and comment block of text from apache httpd.conf
I want to search for a block of text in httpd.conf that between two strings and comment it. There are multiple blocks with "<Directory.. and </Directory>" Code: <Directory...
View ArticleExecute sql statment in korn shell
I am fairly new to writing scripts, and have gotten a lot of help from this site in the past with many of the posts. I have a question/issue with a script I am attempting to write and have a question...
View Article