Search Results

Search: Posts Made By: tainted2real
69,108
Posted By tainted2real
Thank you! The script is working perfectly...
Thank you! The script is working perfectly now....! The problem was
KEY1=`cat /proc/interrupts | grep 1: | awk '{print $2}'`
returned two values instead of one :)
69,108
Posted By tainted2real
[: too many arguments
Hi Guys

I have this small Bash script - but it fails when I'm trying to run it.
./test.sh: [: too many arguments

while true
do
MOUSE1=`cat /proc/interrupts | grep 12: | awk '{print $2}'`
...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 12:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy