General :: Enable Capslock By Using Echo Command - Glow The Led ?

Jan 2, 2010

can anyone tell me how can one enable capslock by using echo command. ofcourse we can glow the led by using the echo command.

Its syntax is echo -e "33[3q"

On searching i found that by using $xmodmap -e "add lock=Caps_Lock" we can enable capslock. but its not working.

View 1 Replies


ADVERTISEMENT

General :: Enable Caps Lock By Using Echo Command?

Dec 23, 2009

How can i enable caps lock by using echo command. I know that by using syntax echo -e "33[3q" this only turns the capslock led to glow. but the capslock is not working i.e. the words are typed in small case only.

Then by using xmodmap command i.e. syntax xmodmap -e "remove lock = Caps_Lock" or xmodmap -e "add lock =Caps_Lock" doesn't work. On running this it shows unable to display.

View 1 Replies View Related

General :: Where To Found Source Code For Echo Command?

Dec 1, 2009

Can any body tell me where can i found the source code for echo command. so that i can download it such that it can help me for further studies on echo command

View 8 Replies View Related

General :: Command Not Found For All But PWD And Echo - Path Empty

Mar 1, 2011

I logged into my Red Hat Enterprise Linux machine at work (use it for software development) and the primary GUI does not load. Instead, widgets appeared for xclock, xterm, and Firefox. In the terminal, I start typing in commands to try to figure out what's going on, but all commands are not found except pwd and echo. I 'echo $PATH' and that returns just an empty, blank line. 'echo $SHELL' lets me know I'm using cash.

The likely cause was my attempt to install Adobe Reader Firefox plugin yesterday. After it downloaded, I ran the binary but Firefox didn't seem to recognize that I had installed it, so I went into my .cshrc file and added the adobe folder to the path. That didn't seem to work, so I gave up, deleted the binary and the folder I installed to, and removed that directory from the path in the .cshrc file. This last thing (the export PATH line in that file) I'm certain is back exactly as it was before.

I have successfully added the /bin and /usr/bin back to the path from command line via
setenv PATH /usr/bin:/bin
but of course it doesn't stick after reboot nor does it magically load the primary GUI. I'd rather not go through the effort of creating a ticket for our company's Global Service Desk cuz there's no telling how long that could take to resolve. In the meantime, I can't do any programming.

View 23 Replies View Related

General :: Echo Command Error - File Exits

Mar 17, 2010

I faced a issue with updating a file contents with echo command which fails with error as below:
echo "foo" > bar //to create a file named "bar"
echo "foobar" > bar //to edit its contents

The latter fails, it prompts "File exists" i.e.
~>echo "foo" > bar
~>echo "foobar" > bar
bar: File exists.
~>cat bar
foo
~>

View 4 Replies View Related

General :: $echo Cat Vs $cat Echo / Difference Between Them?

Dec 16, 2010

What is the difference between

$echo cat
$cat echo

View 1 Replies View Related

Programming :: Echo Hello Command Does Not Return

Jan 11, 2010

I am testing the serial ports on a Single Board Computer(SBC) running Linux kernel 2.6.29. I usually do this by connecting the serial port to another PC serial port, then doing "cat /dev/ttyS0" on PC and "echo hello > /dev/ttyS0" on the SBC. However in the current system, "echo hello > /dev/ttyS0" command does not return at all! Also no characters appear on the destination port. I am running the echo command as root. The system boot messages show that the serial port in indeed /dev/ttyS0.

View 2 Replies View Related

Ubuntu :: Echo Command To Output First Argument

Nov 5, 2010

In a script, when I enter "echo $1" the first argument is outputted. When I enter:
a=1
echo "$$a"

The output is just "$1", not the first argument. If I enter:
a=1
b=$$a
echo $b

The output is still "$1" and not the first argument. How can I get echo to output the first argument without use "$1" directly?

View 4 Replies View Related

Programming :: Echo Two Command Output In The Same Line?

Jan 25, 2011

I try to write script and echo two command at the same line .

echo "A"
echo "B"

How can I pipe above two command at the same line in text file . So, in the output text file , you can see below ? Code: A B not Code: A B

View 4 Replies View Related

Software :: Echo Two Command Output In The Same Line?

Jan 24, 2011

I try to write script and echo two command at the same line .

echo "A"
echo "B"

How can I pipe above two command at the same line in text file . So, in the output text file , you can see below?

Code:
A B
not

Code:

A
B

View 9 Replies View Related

Fedora :: Echo Exit Status After Command Is Run In Terminal?

Feb 19, 2010

command will just execute and exit with a status of "0" -"Every command returns an exit status (sometimes referred to as a return status ). A successful command returns a 0, while an unsuccessful one returns a non-zero value that usually may be interpreted as an error code. Well-behaved UNIX commands, programs, and utilities return a 0 exit code upon successful completion, though there are some exceptions."[URL]With the command . . .

Code:

# dosfsck -v /dev/sdb

it could be very helpful (and decide my next move) to see the exit code as 0, 1, or 2 . the man page suggests the command exit code will specify if the message I get - "Cluster size is zero" (I think it is a "1")is a recoverable or fixable error by the utility. or is non-recoverable - a pretty nifty feature if I understand this right. [URL] is there anything like this script COMMAND_LAST used in the following link. [URL] that can be entered in the terminal window after - or at end of - my dosfsck command or any command. just to see if it has a 0, 1, or 2 status ?

View 2 Replies View Related

Software :: What Is Different From Sending Call Command Within Minicom 2.5 And Echo It?

Jun 11, 2011

I have a router with linux firmware and attached to it a USB modem with which I can do both data and voice.Any other command send through echo method works ok. I was able to send SMS, edit phonebook and many many other stuff, but not make a call.So what is different from sending the call command within Minicom 2.5 and echo it?

View 1 Replies View Related

General :: Xorg: Map AltGr To The CapsLock Key (to Toggle 3rd Level Symbols)

May 7, 2010

as many others I don't need CapsLock. I want to reassign it such that it has the function of AltGr. I use Kubuntu 9.10 but I think there must be a solution which is distribution independent.

I already tried to use setxkbmap or xmodmap. Using xmodmap at least I managed that CapsLock to behaves like Del by following this description.

But I could not achieve assigning the AltGr behavior to CapsLock.

View 2 Replies View Related

General :: Use Above Setxkbmap Command To Enable Multi_key

Apr 12, 2011

I've only recently learned how to use the "Multi_key" function of the X windows system... I learned how to set a compose key from: [URL]... Which I found via google. It gave both directions for defining a compose key in the xorg.conf file. which method did NOT work for me on Arch Linux even after a full reboot. I'm not all that concerned about that however, because I find the temporary setxkbmap method more appealing anyway. A simple ~/bin bash script which if $1 begins with -h will less /usr/share/X11/locale/en_US.UTF-8/Compose and will otherwise run the command

[code]...

IF I use the above setxkbmap command to enable a Multi_key, is there also a setxkbmap command I could issue to disable it?

View 2 Replies View Related

General :: Enable Crontab Command For Normal Users?

Nov 18, 2010

I have install RHEL5 and created normal user as "test". When I login as root user, I can run crontab command but when I login as test user, I can't run crontab command and throws error as "cron/test: Permission denied". how to enable crontab command for test user as well?

View 3 Replies View Related

General :: Enable Printer In CUPS Using Command Line?

Oct 22, 2010

How to enable Printer in CUPS using Command Line?

View 3 Replies View Related

General :: Netboot In GRUB - Enable Boot Command ?

Jan 6, 2011

I am trying to use netboot functionality available in GRUB(legacy). I just compiled GRUB with --enable-diskless and --enable-rtl8139 options and installed in USB flash drive. I am getting the grub prompt when tried to boot from that USB. But not getting boot command..what i need to do to enable boot command??

View 5 Replies View Related

General :: Disable Security - Enable Through Command Line?

Dec 27, 2010

I am using Fedora 14. By default Security Enhanced Linux is enabled in Fedora 14. Now is there any way to disable it by command line and then again enable it through command line.

View 3 Replies View Related

OpenSUSE :: KDE - Change Default Blue Glow / Shadow On Active Window?

May 4, 2010

11.2
KDE 4.3.5
I have desktop effects on and window shadows enabled. The main windows don't seem to follow this, nor does any taskbar pop-ups when you hover your mouse over them. I even set the shadow settings to high/annoying settings but I only see it on context/right-click menus.

I don't like the blue shadow because it is too light, but I can't seem to find where to change it. This seems to also apply to in-active windows as far as the size of the shadow but with a gray shadow instead. Still, if the desktop effects were effecting this, then the shadows I see should be large. Plus, desktop effects only give you one color choice with it just being darker on the active window. How to change this?

View 9 Replies View Related

Software :: Wireless - Status Message That My Wifi Is Enabled But The Led Indicator Does Not Glow

May 4, 2011

I am on a DELL Latitude 6500 laptop. It has a physical button to enable wifi. On Kubuntu 10.10 it was working perfectly. Now that I have made a fresh install to 11.04, whenever I try and turn the wifi on, I get a status message that my wifi is enabled. But the led indicator does not glow. and I could not find my router nor any other routers in my building. The following is some of the that might be useful to debug.

According to this website [url] the wifi is compatible with ubuntu and does not need any external drivers I guess.

View 9 Replies View Related

Ubuntu :: "echo" Command In Crontab?

May 24, 2010

I just setup a cron that display a message like : "hello world" for every minutes. So I put this:echo "hello world" And then I waited and stare at terminal. But seems like it doesnt shown off, did I messed up something?

View 2 Replies View Related

General :: Echo An '-n' Without A New Line?

Oct 19, 2010

how to echo an '-n' without a new line?

View 8 Replies View Related

Hardware :: Disable The Capslock In Xfce?

Jul 10, 2011

Gnome and kde had rich keyboard configuration utilities, but xfce seems a bit starved of it. Without it i've been unable to find a way to disable the infernal capslock key. What method can I take to disable it or remap it as a shift key manually?

View 2 Replies View Related

General :: How To Echo Redirected Stdin

Sep 26, 2010

I execute an application from a script file and redirect stdin to it from here-doc like this:

my_cli << HERE_DOC
enable
configure
10
exit
exit
HERE_DOC

This works as expected, but I don't see neither the input nor the app output. The application is an interactive prompt written in C. When I interact manually with it, I see the prompt itself and responses to my input, but when I execute the aforementioned script I see nothing. I would like it to print the input and the output as if a real user was typing. Do you know how to achieve that?

View 3 Replies View Related

General :: How To Echo The File To Stdout

Sep 26, 2010

I have a process which logs output to log.txt. If I want to see the process's status in real-time, is there a way to echo that output to stdout instead of opening the log in a text editor and constantly reloading?

View 3 Replies View Related

General :: What Does Echo $$ Give As Output

Nov 28, 2010

What does echo $$ give as output?

View 3 Replies View Related

General :: Echo Function In .bashrc?

Feb 25, 2010

I'd like a function in my .bashrc file that would allow me to pass text to it and echo the text to a specified file. I know it's simple as "echo 'text' >> file," but ideally, I would want to alias the function so I execute something like:

Code:
user~ $ write 'this is a test' with "write" being the function, and 'this is a test' being echoed to the file. I hope I explained that well enough.

View 3 Replies View Related

Fedora :: Shift+CapsLock Turn ScrollLock LED On ?

May 31, 2010

Seems like one can toggle ScrollLock LED by pressing Shift+CapsLock. Seems like it is a feature, but what feature? In what mode we are in when NumLock LED is lid?

View 2 Replies View Related

Fedora Hardware :: CapsLock Has Been Toggled - KVM Switch?

Feb 6, 2011

Somehow numlock has been toggled so that with numlock off text is in CAPS and with numlock on text is in lower case. How can I remedy this? The OS in question is Fedora 14 and I've been playing around with VirtualBox. This behavior is present in both the host computer or the virtual machine. Did I say NumLock? CapsLock of course! However, seems it was something to do with the KVM switch. All sorted now.

View 1 Replies View Related

Ubuntu :: Turn CapsLock Into A Unique Modifier Key

Aug 23, 2010

I would like to use Caps Lock as its own UNIQUE modifier key (not merely replace it with Ctrl). I have figured out how to do this on windows but not yet in Ubuntu. Here is what I'm looking for:

1. When I press "Caps Lock" on its own, it is equivalent to the Escape key (or at least sends the "escape" command).
2. When I press Caps Lock + <new key>, it does other stuff.

I have figured out how to get EITHER ONE of these to work, but not both at the same time. For example, I have figured out how to turn Caps Lock into the unique "Super" modifier using xbindkeys and xmacro (this achieves #2). I have also figured out how to switch the escape and capslocks keys altogether to achieve #1. But I can't figure out how to get both outcomes at the same time!

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved