9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone
I have a problem with my script
If I try directly this command
/usr/bin/nice -n 19 mysqldump -u root --password="******" wiki_schneider -c | nice -n 19 gzip -9 > /point_de_montage/$(date '+%Y%m%d')-wiki-db.sql.gz
It works
But if I simply add this command in a script and... (8 Replies)
Discussion started by: picemma
8 Replies
2. UNIX for Dummies Questions & Answers
What is the use of this command and do this command require passed ?
---------- Post updated at 05:28 PM ---------- Previous update was at 05:27 PM ----------
Password (2 Replies)
Discussion started by: sukesh31
2 Replies
3. Shell Programming and Scripting
Hi Friends,
can any one help me on making my one script.
We are logging into AIX server through NPUM gateway
and i am using this command in npum gateway
usrun -h $servername root
I am making script and want to store in NPUM server and in that script i am using this command
usrun... (5 Replies)
Discussion started by: pallvi_mahajan
5 Replies
4. Shell Programming and Scripting
I have a shell script (.sh) and I want to pass a parameter value to the awk command but I am getting exception, please assist.
diff=$1$2.diff
id=$2 new=new_$diff
echo "My id is $1"
echo "I want to sync for user account $id"
##awk command I am using is as below
cat $diff | awk... (2 Replies)
Discussion started by: Ashunayak
2 Replies
5. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
6. UNIX for Advanced & Expert Users
Hi,
I need to run usrun command and direct console output into a text file.
eg: usrun -h <hostname> nobody
The above example retunns "/bin/usrun: Permission denied" on the screen. I want this string to be directed into a text file.
Please help me to achieve this.
Any help in this... (2 Replies)
Discussion started by: MandyR
2 Replies
7. UNIX for Advanced & Expert Users
Hi,
I need to run usrun command and direct console output into a text file.
eg:
usrun -h <hostname> nobody
The above example retunns
/bin/usrun: Permission denied
on the screen. I want this string to be directed into a text file.
Please help me to achieve this.
Any help in this... (4 Replies)
Discussion started by: MandyR
4 Replies
8. UNIX for Advanced & Expert Users
Hi,
I need to run usrun command and direct console output into a text file.
eg: usrun -h <hostname> nobody
The above example retunns "/bin/usrun: Permission denied" on the screen. I want this string to be directed into a text file.
Please help me to achieve this.
Any help in this regard... (2 Replies)
Discussion started by: MandyR
2 Replies
9. Shell Programming and Scripting
i want to search in the current directory all the files that contain one word for example "hello"
i want to achieve it with the grep command but not with the grep * (2 Replies)
Discussion started by: aintour
2 Replies