10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi, all,
I'm writing a BBS telnet client, and am trying to implement a status bar into it, at the bottom of the screen.
I am using NCurses to accomplish this. So far, it appears to be working, that is, upon connecting to BBS, it
will display the status bar, and then quickly disappear.
... (5 Replies)
Discussion started by: ignatius
5 Replies
2. Shell Programming and Scripting
Hi,
I have shell script that I am running under Ubuntu as root.
Is it possible to hide the command window and show the user some sort of progress /random progress bar / or other form of GUI interaction?
On MAC, I have been using Platypus but on Ubuntu I am not sure what to do. (4 Replies)
Discussion started by: naveedanwar4u
4 Replies
3. Ubuntu
Below the list of command to explain the status
michelangeli@hp:~$ lspci -nn | grep -i net
02:00.0 Ethernet controller : Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
04:00.0 Network controller : Ralink corp. RT2790 Wireless 802.11n 1T/2R... (6 Replies)
Discussion started by: michelangeli
6 Replies
4. Shell Programming and Scripting
Hi,
I want to write a script which continuously checking status of a script running in background by nohup command. And if same script is not running then immediately start the script...please help..
i am using below command to run script
nohup system_traps.sh &
but in some... (9 Replies)
Discussion started by: ketanraut
9 Replies
5. Shell Programming and Scripting
I have written a bash script to to sort the data from logs i need some help in printing the outputs , i dont have much ideas in bah scripting.
Sample script
-----------------------
#!/bin/bash
a=`date | cut -d " " -f2,2,3`
cat /var/log/maillog |grep "$a" |grep -E -e 'deferred|bounced'... (9 Replies)
Discussion started by: unimaxlin
9 Replies
6. Shell Programming and Scripting
Looking for a solution to why my progress bar not working
My code
print "STARTED:\n ";
my $pdf = CAM::PDF->new('XYZ.pdf') or die $CAM::PDF::errstr;
print STDOUT "Processing File: ";
open (FILE, ">bill_data.txt") || die "Unable to save Bill_data.txt file";
for my $pagenum (1 ..... (4 Replies)
Discussion started by: chakrapani
4 Replies
7. Shell Programming and Scripting
After some googling, I came across this script to create a spinning cursor:
#!/bin/bash
# paste following in your script
declare -a Spinner
Spinner=(/ - \\ \| / - \\ \| )
Spinnerpos=0
update_spinner()
{
printf "\b"${Spinner}
(( Spinnerpos=(Spinnerpos +1)%8 ))
}
# testing... (2 Replies)
Discussion started by: mrwatkin
2 Replies
8. Shell Programming and Scripting
Hi Programmers,
I just wrote a small script to print the percent complete.
This maybe useful for someone!
#!/usr/local/bin/perl
# Total from which percentage will be calculated
$cnt = 16;
$|=1;
for($i=0;$i<$cnt;$i++)
{
# Calculate Percentage
$percent = ($i/$cnt)*100; (13 Replies)
Discussion started by: hifake
13 Replies
9. Shell Programming and Scripting
Hello,
In perl how to show the percentage download when we download something wget ...
For example when we wget some software instead of showing the following ......
============================================
# wget... (4 Replies)
Discussion started by: fed.linuxgossip
4 Replies
10. Shell Programming and Scripting
Hi,
Is there a way to get the status of a perl program in another perl script ?
Ex.:
1/ proc_sub.pl:
print "test programme perl\n" and exit 1;
2/ proc_main.pl:
print "status of proc_sub.pl : ";
proc_sub.pl # possibility to get the status=1 ???
Thanks a lot. (4 Replies)
Discussion started by: jo_aze
4 Replies