10 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. Shell Programming and Scripting
Hi All,
Even changing .bash_profile, i am getting only $ as command prompt.
My bash profile looks like this.
PS1=" $ "
stty columns 200
set -o vi
if i run bash command and run PS1=" $ " then it is working as expected.
$ bash (4 Replies)
Discussion started by: akshu.agni
4 Replies
3. UNIX for Dummies Questions & Answers
For instance, when I run ss -lptn | grep sshd , the output is as follows:
LISTEN 0 128 *:22 *:* users:(("sshd",1252,3))
1252 refers to the process id, but what does the 3 refer to ? (2 Replies)
Discussion started by: Hijanoqu
2 Replies
4. UNIX for Dummies Questions & Answers
Hello Experts,
I am still learning linux and have come across a question, hope to get some answer.
I have two servers, and both have the same version of svn client installed and both have the same user_id.
my SVN client version:
svn, version 1.6.11 (r934486)
compiled Mar 2 2011,... (4 Replies)
Discussion started by: babyPen1985
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am using AUTOSYS GUI based tool. But I want to get the job status from the UNIX command prompt.
1. I want to execute only autorep command in the UNIX command prompt.
If need to execute this command what are the settings need to do that.
2. Is it possible for executing this... (5 Replies)
Discussion started by: onesuri
5 Replies
6. Windows & DOS: Issues & Discussions
Hi does anyone know know how to find out the password on a vista pc using command prompt /cmd not change it (1 Reply)
Discussion started by: popo123456789
1 Replies
7. SuSE
Sir,
I using the following commands in a file (part of a bigger script):
#!/bin/bash
cd /opt/oracle/bin
ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out
If I run this from the command prompt the result is:
2007-05-16
if I run it as a cron job then... (5 Replies)
Discussion started by: rajranibl
5 Replies
8. Shell Programming and Scripting
I am beginner to UNIX, I want to write shell script for
find greatest of three numbers through command prompt. I have written similar code for converting lowercase to uppercase in command prompt.
I am not getting logica how to implement greatest of three numbers through command prompt. (2 Replies)
Discussion started by: giridher2000
2 Replies
9. Shell Programming and Scripting
I am writing a menu script and one of the options is to access a Command Prompt and return to the menu via CTRL-D. I have tried using a loop and echoing the PS1 value, then using read to assign whatever is entered into a variable, then executing the value of that variable as a command using
.... (1 Reply)
Discussion started by: sanitywonko
1 Replies
10. Shell Programming and Scripting
Hi,
First i want to tell you i am not a administrator and everytime to run a sqlscritpt i have to login as SU in a particular account to connect to sqlplus..
I want to write a script which can make me free by doin this .. since i am having the permission for SU i want to know if i can SUDO... (7 Replies)
Discussion started by: myelvis
7 Replies