Summary: I need help in Bash script. 1. How to output a particular line of a file eg the 8th line? 2. How to store the output of a command as a variable for la...
Summary: I'm new to bash scripting and for practice I'm making a script called rubbish as an alternative for "rm". The idea is if you type "rubbish file1 file...
Summary: I am trying to put ctrl-d in my bash script. (need to execute a command that needs ctrl-d to end the command). Does anywone know how to put it in the ...
Summary: I want to have a simple apps menu, in bash script, for users that don't want access to the shell. How can I provide a "Logout" option to do the equiva...
Summary: Hello, We just started on bash scripting in my college course, the problem is we're only dong 3 days on it. Our project for my class is to "Write a ...
Summary: Hello guys, I need help with writing a ksh, csh or bash script which will call another script and input arguments for the called upon script. The scr...
Summary: So what is wrong with my code here? I certainly could use some constructive criticisms. Fact is if I were expert in shell scripts, I probably wouldn't...
Summary: A bash script that would scroll through the files in a particular directory (an arbitrary number of files, with arbitrary names, in a specified direct...
Summary: Hello! We have been assigned the task of creating a bash script doing this: We have a file with email adresses, one per line. We also have a file with...
Summary: simply trying to write a startup (and shutdown) script (bash) for nstats. I need to get the pid of the just launched nstats, but in a script "&" doesn...
Summary: Here is one that I modified from a script that I found on the web. I used the line -p$USERNAME to create a password from the username. I created one g...
Summary: I need some help with a BASH script. I am just learning shell scripting and this assignment I have been given is difficult. Anyone that can help it wo...
Summary: I'm currently making the move to Linux and I have searched everywhere for a brief help on backticking in bash. The book I am reading through is: Linux...
Summary: Hi. I am trying to write a shell script to run a program with dynamically changing command line arguments. Here is what I've got so far: #!/bin/bash c...
Summary: Try adding quotes. Ex: if [ "$1" = "-f" ] All of the Bash shell scripts I've written required the arguments to be quoted. Also in Bash, I think you c...
Summary: How do i convert the case (upper to lower or lower to upper) in bash scripting and secondly.. I need to compare the exact string that is entered as an...
Summary: Don't use it then: mailto sends as text/richtext if you put empty lines in the message. This is not the same as MS rtf and maybe Outlook doesn't under...
Summary: I am curious as to bash scripting. I would like to do things like have text menus to say 1) Download All Scripts now 2) Say "Hello" 3) Shutdown this M...
Summary: I've a question regarding a batch script. Here are the details: have 2 files , file_a.txt & file_b.txt #cat file_a.txt user1099: user2344: file_b.txt ...
Summary: I want to process the text output from a command but don't remember how to get my bash script to read the stdin data. I'm thinking of something like t...
Summary: A lot of uuoc in this script. There are better ways to grab your current ip address BTW, given a dhcp client. One quick hack: function caddr() { awk...
Summary: my motherboard has a crystal sound card embedded on it. I need help in installing it for Mandrake 9.0. I used the sndconfig tool (did hear mr. torval...