10 More Discussions You Might Find Interesting
Given the following code inside the function ext3_write_super():
(It's there in Linux kernel 18.104.22.168)
static void ext3_write_super (struct super_block * sb)
if (mutex_trylock(&sb->s_lock) != 0)
sb->s_dirt = 0;
The conditional test at if... (2 Replies)
Discussion started by: Praveen_218
2. UNIX for Dummies Questions & Answers
i am new to shell scripting!! i am making this program in bourne shell, that asks the user to input "Hello (their name)" or "question (their name)", any other input, "ERROR" will be outputted.
if they input "Hello (name)", i want to out saying Hello (name) but if they input "question (name)", i... (4 Replies)
Discussion started by: bshell_1214
3. Shell Programming and Scripting
Writing a program that searches for a username and if they are online creates a 'beep' and sends the username and date to a log file.
the error i am getting is:
paul.obrien16@aisling:~/os$ bash checklogin
: command not found
': not a valid... (2 Replies)
Discussion started by: sexyladywall
4. Shell Programming and Scripting
The circumfrence of a circle is
print 2 * 3.141592654 * 12.50 \n"; # pi= 3.141592654
# r= 12.50
I need a simple program showing me all the steps..to modify the above to prompt for and accept a radius from the person running the... (3 Replies)
Discussion started by: Q2wert
5. UNIX for Dummies Questions & Answers
I start wetting my toes in Linux programming.
I tried the first program myls.c in Advanced Programming in the Unix Environment.
int main(int argc, char *argv)
struct... (1 Reply)
Discussion started by: cqlouis
6. Shell Programming and Scripting
Hi, I'm new to UNIX shell programming... can anyone help in doing the following :
1) create a text file named "Model File" having following columns :
Name Number Physics Chemistry
2) prompt user to n rows enter the name, number, physics ,chemistry
3) display the entire columns and rows... (1 Reply)
Discussion started by: Mayuri P R
7. Shell Programming and Scripting
I have problem in the following shell script (problem in 2and3 line i guess)
set value1 = 90;
set value2 = 70;
if ; then
echo "$value1 is normal"
echo "$value2 is abnormal"
$ value_test.sh (Enter)
Neither it's printing... (13 Replies)
Discussion started by: user__user3110
any suggestions on how i could create a simple chat program between two terminals using pipes? thanks (1 Reply)
Discussion started by: kelogs1347
I'm trying to write 2 programs, client & server, that communicate with integers, however, all resources I have found on the net assume that you want to send and recieve information as a character array. I don't want to send my integers as characters, I want to send them as ints (casting them to... (2 Replies)
Discussion started by: Mistwolf
I am new to the unix/linux environment.
I need to create a mini shell..that displays prompt (i.e., READY:$), accepts a command from std-in, and prints the command and any parameters passed to it. HELP!!!! (8 Replies)
Discussion started by: jj1814