10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
What is the command to run additional available shells on top of default shell. I am using bash
also how can i tell that the additional shells are actually running?
Also what is the advantage of running additional shells on top of your default login shell of bash?
Lastly... (1 Reply)
Discussion started by: Bill Thompson
2. Shell Programming and Scripting
Please i'd like to run command in a script shell , how can i do ?
here my commands :
cd blcr-build // run command in this rep
sudo insmod ./blcr_imports/kbuild/blcr_imports.ko //root
sudo insmod ./cr_module/kbuild/blcr.ko //root
Thank you. (1 Reply)
Discussion started by: chercheur857
3. Shell Programming and Scripting
I want a script which would grep details from top command for specific processes. I m not sure of the PID of these processes but i know the names.
$ top -c
top - 16:41:55 up 160 days, 5:53, 2 users, load average: 9.36, 9.18, 8.98
Tasks: 288 total, 9 running, 279 sleeping, 0... (8 Replies)
Discussion started by: Siddheshk
4. Shell Programming and Scripting
The command is:
sic -h irc.freenode.net 2>&1 | tee -a irc.log
Where sic is an IRC client, and I'm piping the output to tee in order to log my IRC sessions.
I'm trying to handle reconnects by running it in a while loop in the shell process and cat the initial commands into sic's stdin.
I... (1 Reply)
Discussion started by: guitarscn
5. Shell Programming and Scripting
I have written shell script to send file as an attachemt of email and output of "top -o res" command as email body. it works fine if i execute manually from prompt but it does not send "top -o res" command output in email body when it is executed via crontab. Any suggestions. My script is below:... (5 Replies)
Discussion started by: needyourhelp10
6. Shell Programming and Scripting
I need to run a script whenever the Cron file is modified.
The requirement is whenever a user modifies the cron file, the script should run automatically.
Can you please provide your inputs ? (5 Replies)
Discussion started by: harneet2004us
7. Shell Programming and Scripting
Imagine we have to run a command in python shell from a perl script.
2 use strict;
3 my @con;
4 @con = `python`;
5 #?????print `print 'salaam'`;????
What's suitable situation for fifth line?
Thanks in advance. (4 Replies)
Discussion started by: Zaxon
8. Shell Programming and Scripting
I am using a command "script" to capture the output of a command
my script is
Now my problem is that when my script run "script filename.txt" its fork a new shell and after the no other command execute
The remaining... (2 Replies)
Discussion started by: sushantnirwan
9. UNIX for Dummies Questions & Answers
I just want to login(ssh) to another system and run 'poweroff' command.
This must be accomplished via a shell script($sh Myhalt host_name) and not from my bash!!
:rolleyes: (1 Reply)
Discussion started by: rakabarp
10. UNIX for Dummies Questions & Answers
i am trying to use the C execvp command to run a shell program like this:
char input ;
printf("enter your command");
Compilation is ok but when i run it raise the error :
Segmentation Error ...
your help will be appreciated.
... (1 Reply)
Discussion started by: abdul