http://stackoverflow.com – I have a problem with a bash script. I have something like this: find /home -mindepth 1 -maxdepth 1 -not -empty -type d | sort and the output is like : /home/dir1 /home/dir2 I want the output to be : dir1 dir2 (HowTos)
http://stackoverflow.com – I have a problem with a bash script. I have something like this: find /home -mindepth 1 -maxdepth 1 -not -empty -type d | sort and the output is like : /home/dir1 /home/dir2 I want the output to be : dir1 dir2 (HowTos)
http://stackoverflow.com – In vim, control-left and control-right are back and forward whitespace-separated word (i.e. synonyms for B and W), the same as web textareas and bash. But when running screen, these keys stop working. (HowTos)
http://stackoverflow.com – I'm new in Awesome WM and try to add a custom shortcut to run a bash file but it does not work. awful.key({ modkey, "Control", "Shift" }, function () awful.util.spawn(./layout-ir.sh) end), I add this behind of "Standard Program". Thank you (HowTos)
http://www.unix.com – Hi... I am trying extract data using 2 files.. 1. Data file - DATA.TXT containing data to be extracted 2. (HowTos)
http://ubuntuforums.org – I'm on 12.04. I have xdotool and xclip installed. I have a script bound to a hot key that works. The script is: Code: #!/bin/bash xclip -in -selection c ~/scripts/xclip-scripts/sig The sig file contains my signature. (I know this is really simple. (Hardware)
http://stackoverflow.com – So, we can execute simultaneous command in the shell by appending '&' to the end of the line and then executing 'wait' to wait for the commands to finish. Is it possible for functions? (HowTos)
http://stackoverflow.com – I have this standard input: read -p "Server-Number: " servernumber The Server numbers goes from 01 - 99 It is important, that the number has a zero (01, 02, 03, ..., 10, 11, ..., 99) How can I edit the variable, if the number is only 1 instead of 01 ? Sorry for my bad english ;) I hope your understand my question. (HowTos)
http://chakra-project.org – Hello everyone ,I open this topic because I have faced a critical problem with /tmp several times. my /tmp was full, so any program that needed to write a temporary file could not be executed. (HowTos)
http://stackoverflow.com – I've stumbled upon an issue when I tried to automate backups via duplicity: duplicity can't scp while running in my bash script, as strange as that sounds. I tried specifying path to the private key file in at least 15 ways, I tried messing with ssh-agent and ssh-add from within the script, no dice. Running as root, this is my script: #!/bin/bash export PASSPHRASE='password' duplicity --exclude (HowTos)
http://www.unix.com – Hello, I was trying to split a string to characters by perl oneliner. Code: echo "The quick brown fox jumps over the lazy dog" | perl -e 'split // ' But did not work as with bash script pipe: Code: echo "The quick brown fox jumps over the lazy dog" | fold -w1 | sort | uniq -ic Code: 8 1 T &nb (HowTos)