9
How to concatenate two files on the fly and reference result as new file?view story

http://unix.stackexchange.com – I want to concatenate two files, i.e. staticEntries.dic and dynamicEntries.dic. As the names might show, the content of staticEntries.dic stays the same over time (contains common words), but to the contrary, dynamicEntries.dic might change over time (contains abbreviations that are extracted from DB). In my editor, I want to provide a mydict.dic, which contains the content of both files. (HowTos)

9
Returning a value from a bash functionview story

http://unix.stackexchange.com – I have a function which returns 1 if the number is a valid ten digit number: valNum() { flag=1 if [[ $1 != [1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] ]]; then echo "Invalid Number" flag=0 fi return $flag } It is getting called by: if [[ $(valNum $num) -eq 1 ]]; then #do something fi The function is working fine if the number is valid but is showi (HowTos)

9
bash: cd: /sda5: No such file or directoryview story

http://askubuntu.com – I have files in sda5 drive but when i tried to navigate into it, it gives me below error: ~$ cd /home /home$ cd /media /media$ cd /sda5 bash: cd: /sda5: No such file or directory /media$ cd /sda5 I have a file to split (10GB in size). (HowTos)

9
Help with running C programs in Ubuntuview story

http://askubuntu.com – I've been teaching myself to write programs in C, using Geany as my IDE. All of my programs get compiled and linked correctly, and they seem to work fine when I test run them inside of the IDE, however I can't seem to run to program without the use of the IDE. I've tried using the terminal command "./[filename]" However I always get this response from the terminal: bash: ./variabletest: No suc (HowTos)

9
Terminal customizeview story

https://bbs.archlinux.org – 1- install archey, screenfetch, etc (https://wiki.archlinux.org/index.php/Sc … tion_Tools)2- add in ~/.bashrc one line: echo -e ; archey ; (echo -e ; screenfetch ; , etc)3- shell prompt: https://wiki.archlinux.org/index.php/Color_Bash_Prompthttp://i.imgur.com... stressat https://bbs.archlinux.org/profile.php?id=43226 2013-09-15T09:09:47Z (HowTos)

9
Negate hex string in bashview story

http://unix.stackexchange.com – I have the following hex string: 0bee89b07a248e27c83fc3d5951213c1 (output of echo abc | md5) - how do I negate such hex string in bash? (HowTos)

9
Linux Backup Bashview story

http://stackoverflow.com – I am trying to create a bash script that backup the whole /dev/sda1 to /mnt/Backup /dev/sda1 457G 3.5G 431G 1% / /dev/sdb1 2.8T 3.0G 2.8T 1% /mnt/Backup The script that have is : START=$(date +%D) FOLDER_NAME=`echo $START | tr -s '/' | tr '/' '_'` SOURCE_PATH='/media /bin /boot /cdrom /dev /etc /home /lib /opt /proc /root /run /sbin /selinux /srv /sys /tmp /usr /var' SOURCE (HowTos)

9
Rickshaw graphing with live dataview story

http://www.linuxquestions.org – I have a project that is written in HTML/Bash/PHP. Rickshaw is a Javascript graphing program: http://code.shutterstock.com/rickshaw/ It says that it is capable of live graphing data. I would like to graph the current bandwidth of the web server that is serving the page. (HowTos)

10
openSUSE ARM Gets new Raspberry Pi Imagesview story

http://news.opensuse.org – Sadly, the sticker doesn’t fit… Over the weekend, Bernhard Wiedemann has been working on new armv6 based images for the Raspberry Pi. It is built using a set of alternative build scripts aiming to make the building of the image easier. He’s put the scripts as well as an image online, you can get it from oSC or here (image) and here (scripts). (Distributions)

9
Date format in Bash Scriptview story

http://www.unix.com – Hi Experts, We get "Day" of a month in a variable, so how to make date of out it? To make more sense if my variable $DAY contains "12" and month and year will be current date (as of today) so I want to see as output as 2013-09-12. How can I achive this bash script?? Any help is highly appreciated. Thank you (HowTos)