12
How to use select into command in shell script?view story

http://www.unix.com – I need to get total number of rows in a table by using select count(*) from table and need to assign into a variable in shell script. (HowTos)

12
How can I run a cron command with existing environmental variables?view story

http://unix.stackexchange.com – How can I run a cron command with existing environmental variables? If I am at a shell prompt I can type echo $ORACLE_HOME and get a path. This is one of my environmental variables that gets set in my ~/.profile. (HowTos)

13
How to return value from expect script?view story

http://www.unix.com – Hi there. There is a shell script: Code: #!/bin/bash ARGS=`(grep -i $1 old.txt || grep -i $1 new.txt) |awk 'BEGIN {FS=","}{print "\x27" $5 "\x27"}' | tr "\n" " "` /usr/bin/expect -- << EXPECTEND spawn -noecho myssh myhost.localnet log_user 0 expect root log_user 1 send "/home/one.pl $ARGS\r" set val $expect_ou (HowTos)

4
Login as different user in Gnome if you are have root privilegesview story

http://askubuntu.com – I want to login as a different user in Gnome and not to run a single program only, but I don't know the users password, I don't want to know it and I don't want to change it, but I'm sudoer. Is there any way to do so? The best thing I could think, was to change the user's password but to keep the old shadow file. But this seems to me very ugly and also uncomfortable. (HowTos)

6
How do I properly auto start Skype, 11.10 and Gnome Shell Panel?view story

http://askubuntu.com – Clean install of 11.10. Tried Unity and really struggled and have switched to Gnome-shell. I have set up Skype as a startup application. It starts up properly, but not sure what to do without without keeping it fully open. If I close it, the application completely closes. (HowTos)

4
"See also" documentation referenced by man pagesview story

http://askubuntu.com – I'm noticing that at the bottom of some man pages in the "See Also" section are references to documentation that aren't other man pages. (HowTos)

12
"Not Authorized" warnings with Slim desktop Manager on Debianview story

http://serverfault.com – Recently I changed my desktop manager to use slim desktop manager and .xsessionrc to launch appropriate session. (HowTos)

3
Latest update (Linux Kernel, I think) breaks GNOME shell in Laptop and Virtual Machineview story

http://askubuntu.com – I found that one of the recent update causes graphics driver to break or otherwise, causing fallback to GNOME Classic, and low resolution. This happens in my Laptop (Intel Core i5, NVIDIA 520) and Virtual Box. I notice in both cases, when I boot into a older kernel eg xxx.12 or something like that, it works (GNOME Shell & Monitor resolution) (HowTos)

3
Disable scroll lockview story

http://unix.stackexchange.com – We have a shell/tty based application that has ~1,000 users. If a user accidently turns on the Scroll Lock, it makes it seem as if the application is frozen because it quits responding to keyboard input. Is there a way to disable the Scroll Lock or remap it to something less intrusive for this use-case? (HowTos)

6
Execute multiple ssh commands in the same shell (programatically)view story

http://serverfault.com – NOTE: I'm really looking for an SSH-y solution here, more than bash-y one. I need to execute a series of commands over ssh, programatically. There are many ways to do this, but I can't find any that works with my constraints: some of the commands set variables in the shell. (HowTos)