10 More Discussions You Might Find Interesting
1. SCO
is there a way to overwrite what I have typed in rather than having to hit enter and re enter the command?
SCO UNIX 3.2.4.2 (14 Replies)
Discussion started by: steveo314
14 Replies
2. Shell Programming and Scripting
How to run several bash commands put in bash command line without needing and requiring a script file.
Because I'm actually a windows guy and new here so for illustration is sort of :
$ bash "echo ${PATH} & echo have a nice day!"
will do output, for example:... (4 Replies)
Discussion started by: abdulbadii
4 Replies
3. Shell Programming and Scripting
Hi guys,
i'm beginner with Unix, I tried my best, but I Really don't know how to finish it :D.
here's my problem : I have to do something like Student system - student's name | subjects | mark |credits.
after starting script it will ask you for Student's name, then which subject, then the... (2 Replies)
Discussion started by: PrincMehi
2 Replies
4. Shell Programming and Scripting
I want to find all bash scripts on my system.
What I have so far is this:
find / -type f \( -perm -u=x -o -perm -g=x -o -perm -o=x \) | xargs -I{} head -1 {} |grep bashThis will find all executables, read the first line and diplay it, if it contains "bash". Almost done, but I also need the... (8 Replies)
Discussion started by: Cochise
8 Replies
5. Programming
Hello all,
I'm attempting to write a basic application that appends an arbitrary list of txt files to one txt file.
So, for example, if the application is run like so:
appendFileToFile file1.txt file2.txt file3.txt the system command should, hopefully be, cat >> testfile.txt
I'm... (4 Replies)
Discussion started by: whyte_rhyno
4 Replies
6. UNIX for Dummies Questions & Answers
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies
7. Shell Programming and Scripting
Hi
I have created a perl script & running it using Linux machine. I want my script to die when system command is unsuccessful but script is dying even when system command gets executed successfully. :wall:
I am using the command below :-
system($cmd) || die "FAILED $!";
print "Hello";
... (2 Replies)
Discussion started by: Priyanka Gupta
2 Replies
8. Shell Programming and Scripting
My main machine is set-up so that I configure the network details (IP etc) by command line. However I'm trying to create an bash script to run those commands upon system startup. Problem I have is that the commands require root access and I want it to be fully automatic.
Now I figure I need to... (5 Replies)
Discussion started by: jkraw90
5 Replies
9. Shell Programming and Scripting
Hi,
i have a file ver.sql with the following contents , Here i need to put a in the next line of END statment .
So iam doing the following
D:\>type ver.sql
begin
ctxsys.driimp.set_value('STOP_WORD','yours');
ctxsys.driimp.set_object('STORAGE','BASIC_STORAGE',2);... (1 Reply)
Discussion started by: mhdmehraj
1 Replies
10. Shell Programming and Scripting
A Newbie here,
I am working on a script and am having problems with the else part of the script. I can't get the users who are not logged into the system to display on the screen with their username and the text "The user is not logged in". I am sure it is something simple and stupid, but I... (5 Replies)
Discussion started by: rchirico
5 Replies