10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script like this:
echo "enter filername in lowercase"
read -e filername exec 2>&1
echo "type the start date in format MM/DD/YYYY"
read -e startdate exec 2>&1
echo "enter the end date in format MM/DD/YYYY"
... (2 Replies)
Discussion started by: newbie2010
2 Replies
2. Red Hat
Dear all,
Please help me clarify why i cannot run command in /sbin directory (ex: /sbin/fdisk -l )!
I've checked permission on files which belong /sbin directory with execute permission. However, i still cannot run with normal user.
Sorry for my English.
thanks all, (5 Replies)
Discussion started by: all4cfa
5 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I wrote a script and part of the script, I have a validation to check if the file has <EOF> on the last line of the
file. If it does not have a <EOF>, then a message has to be written to a log file.
the code snippet shown below works fine, but it writes the below message if the... (1 Reply)
Discussion started by: Vijay81
1 Replies
4. Shell Programming and Scripting
Trying to run the following awk command :
export com.mics.ara.server.tools.sch_reports.Runner.num_threads=`awk -F= '!/^#/ && /com.mics.ara.server.tools.sch_reports.Runner.num_threads/{print $2}' $BKUPDIR/env.properties`
-bash: export:... (6 Replies)
Discussion started by: venhart
6 Replies
5. Shell Programming and Scripting
I need to know a command to find out which version of Perl Im currently running.
Thanks
Ben (2 Replies)
Discussion started by: bigben1220
2 Replies
6. UNIX for Advanced & Expert Users
Running the find command as: find /abc -follow -ls gives, for some files, the message, which I have never seen before:
find: /abc/def/123.txt: No error
Does it mean that find found the file with out error. If it found it without error then why did it not output the "ls" particulars as with... (2 Replies)
Discussion started by: twk
2 Replies
7. Red Hat
Dear Friends ,
Is it possible to generate a welcome message when I give the command "ls" from a particular user's home directory in Unix/Linux platform ?
suppose , in following example ,
bash-3.00# whoami
root
bash-3.00# ls
When I give ls command then it shows the output as... (2 Replies)
Discussion started by: shipon_97
2 Replies
8. UNIX for Dummies Questions & Answers
Dear all,
when I issue the command:
gunzip -c file.gz |sort
the command is executed normally and correctly but a message keeps appearing everytime I run the command:
the message:
sort: missing NEWLINE added at end of input file STDIN
Does anyone know what is the meaning of this message?... (3 Replies)
Discussion started by: marwan
3 Replies
9. UNIX for Advanced & Expert Users
in the last command..........what's this mean? i truncated the user name for obvious reasons, b
b rexecd Wed Jan 7 08:53 still logged in
b rexecd Wed Jan 7 08:53 still logged in
b rexecd Wed Jan 7 08:53 still logged in
b rexecd Wed Jan 7 08:53 still... (1 Reply)
Discussion started by: csaunders
1 Replies
10. UNIX for Dummies Questions & Answers
Ran into a new one today at work......
I was told to start 2 servers which were shut down due to a power outage(I don't believe they were shut down incorrectly).
After fsck, both console logins appear with the message:
INIT: Command is respawning too rapidly. Check for possible errors.
>... (5 Replies)
Discussion started by: finster
5 Replies