10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I work on Windows and I use Putty to access a remote UNIX server.
I am trying to build a shell script that will have as main task to open the
Windows command prompt (cmd) and run some Windows commands thereafter. The commands are actually file transfer commands that will download a file... (14 Replies)
Discussion started by: rookie2785
2. Shell Programming and Scripting
I have a problem "Write script, which will display the actual number of bash command interpreter, working in the operating system." I used ps command to list all process running in the system but I don't know how to select only bash command interpreter. Pls give me some... (3 Replies)
Discussion started by: nguyendu0102
3. UNIX for Dummies Questions & Answers
I have a text file. I want the top 100 lines of this file to be deleted that too from command line using minimum command input.
Please tell! (1 Reply)
Discussion started by: nixhead
4. Shell Programming and Scripting
i have a sql file named sample.sql. The query is given below.
select count(*) from $TABLE_NAME
In the main script, i am sourcing this sql. I need to replace the $TABLE_NAME with actual value, before running the query. How can i achieve that?
The logic i tried is given below:... (3 Replies)
Discussion started by: bharathappriyan
5. Red Hat
First post, sorry to be a bother but this one has been dogging me. I have a process user (java application server) that trips a resource limit every couple weeks and need help finding what limit we're hitting.
First, this is what's running:
This is the error when jobs are run or the... (0 Replies)
Discussion started by: Katahdin
6. UNIX for Dummies Questions & Answers
Hi, I was wondering how to change the prompt for my ssh login. At the moment it is like
while I'd like it to be as
It is in the .bash_profile or .ssh ??? Thanks (2 Replies)
Discussion started by: pmasterkim
7. UNIX for Dummies Questions & Answers
i have file extentioned with test.vbs. i am able to run this file n execute through command promt but i dont know how to run in shell script
file name is test.vbs which contains
strSoundFile = "C:\windows\Media\Notify.wav"
Set objShell = CreateObject("Wscript.Shell")
strCommand... (5 Replies)
Discussion started by: atl@mav
i have a question:
when run which javac under a user account I got the following results:
PROD DB Server: /usr/java14/bin/javac
DR DB Server: /usr/java14/bin/javac
DEV DB Server: /usr/java5_64/bin/javac
The .profile in all environments are same.
so how do know who is the... (1 Reply)
Discussion started by: lweegp
9. Shell Programming and Scripting
I am being trained in unix and am tryin to write a script for listing the user Processes by user's names exactly the following manner WITHOUT USING A TEMPORARY FILE or SED OR AWK! The format of the output I want is:
PID TTY TIME CMD
31799 pts/3 00:00:00 vim
31866... (1 Reply)
Discussion started by: kartikkumar84@g
10. UNIX for Advanced & Expert Users
I'm trying to run some script on other host by using rsh command.
This script asking for user id which follows by password requisition.
The problem which I faced is that the user requisition prompt never appear.
It look like the script is running and wait for the user id to be... (1 Reply)
Discussion started by: ronenalalush