10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Am getting the raw report from the source and need to prepare the custom report as per the requirement.
Requirement keep getting change according to the need.
Raw data is as below
/* ----------------- test_job_hu ----------------- */
insert_job: test_job_hu job_type: CMD... (4 Replies)
Discussion started by: pradeep84in
2. Shell Programming and Scripting
I have a jump off server, which grants SSH access to a few other servers.
I would like to create a custom shell which can be assigned to specific user accounts which runs a menu script upon login, where they can select which server they want to jump too, however should they hit ctrl-c or any... (1 Reply)
Discussion started by: JayC89
3. Shell Programming and Scripting
I am trying to make my own commands in my linux.I thought a command for changing directories will be easy.
I made a simple file amd made the entries
I then made the file executable and then moved it to /usr/bin.
But when i type the script name nothing... (2 Replies)
Discussion started by: born
4. Shell Programming and Scripting
I have an rsync command that I want to create a variable where user can change to customize the parameters.
complete rsync command to run:
$RSYNC -e 'ssh -ax -o ClearAllForwardings=yes' --log-file=$LOG_FILE --delete -avzcr -u --update $SRC_DIR $USER@$TRG_SRV:$TRG_DIR >> $LOG_FILE
What I... (4 Replies)
Discussion started by: abubin
In my .profile, my prompt is set like this:
set -o vi
Is there a way to show what the history number would be of the command I'm typing in the prompt? For example, I frequently run commands then run 'history' to pull up the history number of a command... (2 Replies)
Discussion started by: ptrotter
6. Shell Programming and Scripting
I am using csh, and am a complete noob when it comes to shell scripting.
I want the following:
1) Ignore case when doing auto-complete.
2) If there are multiple matches (example: I have files abc.txt abc.txt.1, abc.txt.2 and type abc<tab>), count the number of matches.
If... (1 Reply)
Discussion started by: madiyaan
7. Shell Programming and Scripting
Discussion started by: goldfish
8. Shell Programming and Scripting
I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job.
1.) How can i enter "password" in script rather asking me?
I was trying this...
ssh... (2 Replies)
Discussion started by: deal732
9. UNIX for Dummies Questions & Answers
A program named /usr/bin/aa.sh, two parameters: 11, 22. after start it, the row in `ps -ef` is almost like the following:
root 12198 10278 0.0 Nov 25 pts/3 0:00.23 /usr/bin/aa.sh 11 22
but I want to change "/usr/bin/aa.sh 11 22" to one rule string, such as: "AA_11_22", how to... (1 Reply)
Discussion started by: linkjack
10. UNIX for Dummies Questions & Answers
On the standard ftp supplied with Solaris and HP-UX is there anyone that has been able to disable users from certain settings.
i.e the put function.
Our customer ftp's onto the unix host and gets files for extraction into a pc based spreadsheet. I want to stop them from being able to delete... (1 Reply)
Discussion started by: blp001