9
Send output of command to screen and to multiple filesview story

http://www.unix.com – Hi there, I'm a newbie to Unix (taking a course in it right now) and I don't know how to do the following in bash: I need to write a command to display information about the used and free space on the file system, showing only local file systems, and then send the output of the command to the screen and to three files named status1, status2, and status3. Do this all in one command line. (HowTos)

9
How to uninstall KDE in Slackware Due to Limited Memory?view story

http://www.linuxquestions.org – Unfortunately my Dell Inspiron700m laptop with limited memory(512MB) is unable to handle the current KDE Desktop environment. It run slow/lagging with the Hard Disk LED light keep blinking for long time making him sitting in front the screen doing nothing but just to wait for it till stop blinking. But when i switch to xfce, it works fine. (HowTos)

9
how to stop a bash script by pressing a key?view story

http://www.linuxquestions.org – Hi i want to know how to stop this loop by pressing a key, and if possible how to start it again with a keystroke. Code: #!/bin/bash PORT=$(($RANDOM)) WID=`xdotool search --name "xxxxxxxxx" | head -1` xdotool windowactivate $WID while :  do  xdotool sleep .$PORT  xdotool sleep 4  xdotool type 7 done (HowTos)

9
x11vnc server lets me connect at login screen, but after login, connection closesview story

http://serverfault.com – I have an existing xubuntu server running on my local network. I set up x11vnc and it starts at the login screen, so I can login myself. The only problem is that every time I log in, the vnc connection closes, my vnc viewer (Remmina Remote Desktop Client) window closes, and as soon as I click connect again, I'm back at an empty login screen as if nothing happened. (HowTos)

9
[ubuntu] Saving IPTables rulesview story

http://ubuntuforums.org – Hello everybody, Is there any bash script to save IPTables rules before rebooting a server?? Thanks in advance (Hardware)

9
Any way to substitute one character with couple of characters using tr program?view story

http://www.linuxquestions.org – Hello I need simple encoding conversion in bash script. But I need to convert to UTF-8 where national characters consist of two bytes. Is there any way make such substitution with tr ? (HowTos)

9
sed uncomment configuration fileview story

http://stackoverflow.com – Hope some one can guide me in the right direction. I am making a bash script, need to modify specific parameters in a configuration file. sed has worked very good for me, but now I am stuck. I must uncomment the word sql on the configuration file, the problem is that the word: # sql Appears quite few times on the file the same way, alone in the line so have no way to reference exactly the on (HowTos)

9
How do you gracefully shutdown a Java service from a Bash shell script?view story

http://stackoverflow.com – I'm converting a Java REST service from the 'traditional' way -- as a servlet compliant .war that deploys to a multi-tenant app server (Tomcat) -- to a much simpler embedded setup where there is a simple Java main class that starts an embedded http server (Grizzly+Jersey). The one missing piece is the service wrapper. (HowTos)

9
bash - replace space with new lineview story

http://unix.stackexchange.com – How can I replace spaces with new lines on an input like: /path/to/file /path/to/file2 /path/to/file3 /path/to/file4 /path/to/file5 etc... To obtain the following: /path/to/file /path/to/file2 /path/to/file3 /path/to/file4 /path/to/file5 Note I'm posting this question to help other users, it was not easy to find a useful answer on UNIX SE until I started to type this question. (HowTos)

9
Ubuntu Studio doesn't boot properlyview story

http://askubuntu.com – I installed Ubuntu Studio 13.10 from within a live USB stick, and I installed it alongside Windows. However, when I boot up my computer now, I only get a bare shell with the following text: GNU Grub version 2.00-19ubuntu2.1 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. (HowTos)