9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm writing a script that goes something like this:
#!/bin/bash
zenity --list --checklist --title="Choose Packages to Install" --width="1000" --height="400" \
--column="Select" --column="Package Name" --column="Description" \
GIMP=$( " " GIMP "GIMP is a free and open source photo editor." ... (1 Reply)
Discussion started by: Defunct_Lizard
1 Replies
2. UNIX for Beginners Questions & Answers
This script is executed whenever a new vehicle is added to the cycle-motor park
of campus. The script asks for the following information about the car and adds a new
line to the vehicle file.txt: name (name of an animal, unique identifier), color, mark,
model, type (e.g., electrical, manual),... (2 Replies)
Discussion started by: andre2222
2 Replies
3. UNIX for Advanced & Expert Users
Dear Fellow,
I want to make my own OS, Kindly suggest from where i should start. please help me out. (2 Replies)
Discussion started by: zaigham_tt
2 Replies
4. UNIX for Dummies Questions & Answers
I am practicing making my own functions in bash for an upcoming exam. For this example, I want to print out a message and maybe add two numbers. What I would do then is:
bash-3.2$ function practice
{
#code to print
#code to add
}
This would be run using an input file, that would... (1 Reply)
Discussion started by: Midwest Product
1 Replies
5. Shell Programming and Scripting
When script is running you only see when some of the commands are not successfull.
Is there a way to see which command are executed and to show the substitution of variables as every line is executed ? (3 Replies)
Discussion started by: gr0124
3 Replies
6. Shell Programming and Scripting
Hi all,
I have a variable say var1 (output from somewhere, which I can't change)which store something like this:
echo $var1
name=fred
age=25
address="123 abc"
password=pass1234
how can I make the variable $name, $age, $address and $password contain the info?
I mean do this in a... (1 Reply)
Discussion started by: freddy1228
1 Replies
7. UNIX for Dummies Questions & Answers
I am evaluating a variable from a database and storing it as inside.
The value of the variable is alpha numeric.How can i make this a string type.Any functions for the same. (1 Reply)
Discussion started by: dr46014
1 Replies
8. Shell Programming and Scripting
Hi everyone,
Im trying to make a new directory based on a name given in a file called directory_file which contains the following content:
garbage gargbage
Directory: running
more garbage gargbage
more garbage gargbage
more garbage gargbage
So basically i have a shell script that... (3 Replies)
Discussion started by: nbvcxzdz
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I would like to assign a pattern to a variable eg test8* or abc etc
The problem I have is that when I assign the pattern to the variable, if any files within the current directory match the pattern then the variable will be evaluated to equal the filenames rather than the literal pattern.... (3 Replies)
Discussion started by: Bab00shka
3 Replies