04-06-2014
Help needed
HI All,
I am doing a mini project following are the requirement
1. end user will connect to the system via ssh
2. all the key board inputs should be captured and based on "enter" it should send to an argument to another script
3. control + y, control + x should be ignored
Please provide me a good solution
Moderator's Comments:
|
|
edit by bakunin: the best solution is to do your homework yourself. If you do not want to do that you should stop being utterly lazy at least as long as it takes to come up with a significant thread title - "help needed" just doesn't cut it - and a problem description that does not shout "HOMEWORK" all over. To be unwilling to do the work is OK, to ignore the rules about homework is OK too - but to show so little effort in covering it up and think we are dumb enough not to get it IS AN INSULT!
Thread closed.
|
|
Last edited by bakunin; 04-06-2014 at 03:20 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I'm trying to print a directories struct tree that will look like this:
A
_a
_b
_B
__c
__d
__C
___e
B
_a
_b
I'm doing a recursion, but how can I know how much space is needed before printing after the recursion? (3 Replies)
Discussion started by: abcde
3 Replies
2. UNIX for Dummies Questions & Answers
Hello
I am a newbie and want to learn unix .
Does unix and linux are one and same.
I have red hat linux cd but i want to take advice from some one wheather unix and linux are same.
If not ,where i'll get a Unix os setup and how i'll install it.
If linux would do then how should... (3 Replies)
Discussion started by: hunter87
3 Replies
3. UNIX for Dummies Questions & Answers
HI can any one help me with the appropriate answers for the below:
1.Enter an # before a command and press .what do you see,and how do you think you can take advantage of the behaviour?
2.Is tar -cvfb20foo.tar*.c legitimate or not.will this command work without the - symbol?
3.The command... (1 Reply)
Discussion started by: akhil1460
1 Replies
4. AIX
Hello,
I am quite new to AIX, but have Linux experience.
Iam facing a peoblem with AIX 5.2 running on a 43p Model 150 (RS6000).
I tried everyting and i cant have the network to run properly. :confused:
/etc/hosts looks like this:
127.0.0.1 loopback localhost
192.168.XXX.XXX... (5 Replies)
Discussion started by: Netghost
5 Replies
5. UNIX for Dummies Questions & Answers
hi everyone i'm a noob trying to learn unix language.. but seems like i got no leads on how to start..
i'm playing with the 'ps' command.. i'm trying to show the pid, ppid, username, command, cpu utilization (in desc order), process start time and process status.. all in a command.. am i able... (3 Replies)
Discussion started by: hilofat
3 Replies
6. UNIX for Dummies Questions & Answers
i've been given an assignment to Write a system utility called recycle that satisfies the following requirements as they might be displayed in a UNIX/Linux man page:
NAME
recycle - stores files in a recycle bin
SYNOPSIS
recycle ...
DESCRIPTION
Recycle is a replacement for the... (3 Replies)
Discussion started by: jerryboy78
3 Replies
7. Shell Programming and Scripting
Hi...
I have a folder /home/data ;where some files are present.
aaa_asas.txt
bbb_xxx.txt
ccc_xsxas.txt
ddd_sa2esa.txt
------
Also I have a file which is as follows.(/home/file1)
cat /home/file1
aaa you
bbb are
ccc very
ddd good
--------
now I want to rename all the files in the folder... (7 Replies)
Discussion started by: newbee1
7 Replies
8. Shell Programming and Scripting
Guys,
There is a file where there are 1000s of records.
In the file if some condition satisfies in a certain TAB record (TAB would be first 3 digits of a certain record) then move TAB and all the records (or lines) after TAB to new_file, until another TAB record is encountered in the same... (1 Reply)
Discussion started by: Prat007
1 Replies
9. Shell Programming and Scripting
please reply for this
https://www.unix.com/shell-programming-scripting/111493-cutting-lines.html
its really urgent (1 Reply)
Discussion started by: jojo123
1 Replies
10. Shell Programming and Scripting
First of all, let me state that I am a windows admin.
I have a windows share mounted to /mnt/server
I need a script that will either login as sudo or perform commands with sudo rights. I need the script to copy all of the users /home folders to the mounted windows share. Now If I can... (2 Replies)
Discussion started by: EricM
2 Replies
LEARN ABOUT SUSE
pwmconfig
PWMCONFIG(8) System Manager's Manual PWMCONFIG(8)
NAME
pwmconfig - tests the PWM outputs of sensors and configures fancontrol
SYNOPSIS
pwmconfig
WARNING
pwmconfig will attempt to stop your fans, one at a time, for approximately 5 seconds each. This may cause your processor temperature to
rise. Verify that all fans are running at normal speed after this program has exited. pwmconfig does its best to check that the fans are
spinning when they are supposed to, but due to the diversity of available motherboards and fans, it shouldn't be blindly trusted. Always
verify by yourself.
It is strongly recommended to run pwmconfig at a time when there is no significant system load, to minimize the risk of overheating.
DESCRIPTION
pwmconfig searches your sensors for pulse width modulation (PWM) controls, and tests each one to see if it controls a fan on your mother-
board. Note that many motherboards do not have PWM circuitry installed, even if your sensor chip supports PWM.
When a connection is established between a PWM control and a fan, pwmconfig can generate a detailed correlation, to show how a given fan is
responding to various PWM duty cycles.
Lastly, pwmconfig will enter in fancontrol configuration mode (unless you decide to skip that part.) In this mode, you are invited to enter
several parameters which will determine how the fancontrol daemon regulates the speed of one or more fans in your system based on tempera-
ture measurements. In particular, you will have the opportunity to establish mappings between fans and temperature inputs, define the tem-
perature range over which the speed of the fan should be adjusted dynamically, the minimum speed at which the fan should spin, etc. See
fancontrol(8) for additional information.
BUGS
The term "PWM" is used because most fan control systems in computers are based on pulse width modulation. Some motherboards however use DC
variation instead. So, the term "PWM" should be seen as a generic term for "fan speed control", regardless of the actual method used.
SEE ALSO
fancontrol(8), sensors(1).
AUTHORS
Marius Reiner <marius.reiner@hdev.de>, Jean Delvare <khali@linux-fr.org>
lm-sensors 3 September 28, 2008 PWMCONFIG(8)