Sponsored Content
Top Forums Shell Programming and Scripting Display number from 10 to 1 using shell programming in while loop Post 302951257 by aswin on Tuesday 4th of August 2015 11:20:09 AM
Old 08-04-2015
Display Display number from 10 to 1 using shell programming in while loop

display number from 10 to 1 using shell programming in while loop and using read n numbers
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

obtaining a line number in ksh programming

Hi People, how do i obtain the line number of a ksh shell script that i am working on For example in C,when u key in __LINE__ will return u the current line number of the src code. regards wilson (1 Reply)
Discussion started by: wilsontan
1 Replies

2. Shell Programming and Scripting

display number of subdirectories

Can anyone tell me what command would display the number of subdirectories in the current or given location? (2 Replies)
Discussion started by: jjamd64
2 Replies

3. Solaris

Display Serial Number

Hello, I am running Solaris 9 and I need to display the serial number of my machine. How can I do this? Here is my machine info: SunOS birch 5.9 Generic_118558-09 sun4u sparc SUNW,Sun-Fire-V240 Thank you, David (5 Replies)
Discussion started by: dkranes
5 Replies

4. Shell Programming and Scripting

display unique number

Hi, how i can display all the unique number from my random number script below; #!/usr/bin/perl use strict; my @alphanum = ( 'A' .. 'Z', 'a' .. 'z', 0 .. 9); my $random = join('', map($alphanum,(1..5))); print "$random\n"; Thank You. (1 Reply)
Discussion started by: malaysoul
1 Replies

5. UNIX for Advanced & Expert Users

Kernel Programming: Finding the number of I/O requests

Hi I'd like to know a logic or a strategy to count the number of I/O requests that are being made. I have the PID of the process for which this needed to be done. Does anyone have any clue as to how to do this? This is to be done in Kernel programming in C. P.S: This is to be done in... (2 Replies)
Discussion started by: Ir1s
2 Replies

6. Programming

Number of days in month from certain parameters, c programming request.

Hi, I have an issue in date processing, the issue is I have a month as an int ( 1 - 12 ), the weekday as int ( 0 - 6 , 0 = Sunday), and the week day in month as int ( 0 - 5, 5 = last ex: first sunday, last monday, third tuesday ... ), now from those three parameters is there a possible way to... (2 Replies)
Discussion started by: modn3
2 Replies

7. Shell Programming and Scripting

loop to display whatever number use types

sorry couldnt think of a proper title lol ok i have the following script it asks the user how many html tags they want. Im not sure how to display 2 tags if the user eneters the want only 2 tags tags as in <p></p> or <h1></h1> read -p "How many tags" tags1 if then echo "<$tags1>... (3 Replies)
Discussion started by: gangsta
3 Replies

8. Shell Programming and Scripting

for loop iteration and shell programming startup

question :how can i iterate to next item in for loop with the loop e.g for i in `cat abc.txt` do echo $i // this will display first line i=$i+1; // this doesnt work for me. echo $i; //this will display secound line done question: is my approach to manipulate text good? I have... (3 Replies)
Discussion started by: kashif_islam
3 Replies

9. Homework & Coursework Questions

Display number from 10 to 1 using shell programming in while loop

echo "enter the number" read n while do echo "$n" let n-- done (1 Reply)
Discussion started by: aswin
1 Replies

10. Shell Programming and Scripting

Run a shell script in a loop with max number of threads

hi guys. i have a question for you i have a one file and inside this file there are 1000 lines and each line is a linux command running this commands takes long time so i want to create one bash script and run this lines in a loop with max number of threads for example i want to run... (2 Replies)
Discussion started by: avtaritet
2 Replies
GNOME-SHELL(1)							    gnome-shell 						    GNOME-SHELL(1)

NAME
gnome-shell - Graphical shell for the GNOME desktop SYNOPSIS
gnome-shell [OPTION...] DESCRIPTION
GNOME shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience. gnome-shell is a required component of the GNOME desktop, i.e. it is listed in the RequiredComponents field of /usr/share/gnome-session/sessions/gnome.session. It is started in the window manager phase of the session. OPTIONS
-r, --replace Replace the running window manager --sm-disable Disable connection to the session manager --sm-client-id=ID Specify session management ID --sm-save-file=FILE Initialize session from FILE --screen=SCREEN X screen to use -d, --display=DISPLAY X Display to use --sync Make X calls synchronous --version Print version and exit --help Display help and exit --mode=MODE Use a specific mode, e.g. "gdm" for login screen --list-modes List possible modes and exit --clutter-display=DISPLAY Clutter the option display (otherwise ignored) FILES
/usr/share/gnome-session/sessions/gnome.session, /usr/share/applications/gnome-shell.desktop. BUGS
The bug tracker can be reached by visiting the website https://bugzilla.gnome.org/buglist.cgi?product=gnome-shell. Before sending a bug report, please verify that you have the latest version of gnome-shell. Many bugs (major and minor) are fixed at each release, and if yours is out of date, the problem may already have been solved. ADDITIONAL INFORMATION
For further information, visit the website http://live.gnome.org/GnomeShell. gnome-shell GNOME-SHELL(1)
All times are GMT -4. The time now is 01:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy