9
Print a multiline variable in a columnview story

http://unix.stackexchange.com – I have a script that collects values from a cluster. The values, in some cases, have multiple lines. (HowTos)

9
Convert seconds since epoch to a human readable stringview story

http://askubuntu.com – Command date +%s produces 1403568422. Is there an easy way to convert the 1403568422 to a human readable UTC timestamp? python -c "import datetime;print datetime.datetime.utcfromtimestamp(1403568422).isoformat()" kind of works; I can also write a short C program to do the same thing. Is there a better way? Clarification I do not want to make date print the current time in UTC. (HowTos)

9
Is there any harm in using variables that aren't set?view story

http://unix.stackexchange.com – Say I have the following code: # Check if the color prompt is enabled and supported on this system if [ -n "$force_color_prompt" ] && [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then GREEN="\033[1;32m" DIM="\033[2m" RESET="\033[00m" fi echo -e "Oh, ${GREEN}green${RESET} world, ${DIM}don't desert me now...${RESET}" If color support is enabled, it will ec (HowTos)

9
How to install Hp laser jet 1020 plus printer?view story

http://askubuntu.com – I'm new to Ubuntu (14.04). I have to print some documents, but I can't set up my printer (Hp laser jet 1020 plus). Please tell me the proper way to set-up and install it. (HowTos)

9
Msgget(2) returns 0 - a workaround fixview story

http://www.unix.com – Greetings: I am posting this because my searches for this problem only came up with two posts and no helpful suggestions. I have a "solution" (read work-around hack) and have not tried yet to find a root cause, and may never because I am busy doing other things (read working to pay the bills). However, I post this with two goals: 1. For the poor shmuck at 3am 2. (HowTos)

9
Un-archiving single file hangingview story

http://stackoverflow.com – I am trying to unarchive a very large directory. Here is what works to untar the entire thing: $ sudo tar -xjf itunes20140618.tbz --verbose x itunes20140618/ x itunes20140618/genre_artist x itunes20140618/imix_type ...etc... However, if I try and un-archive only a single file, it will correctly do so, but then the command will hang indefinitely. (HowTos)

9
Inject shared library into a processview story

http://stackoverflow.com – I just started to learn injection techniques in Linux and want to write a simple program to inject a shared library into a running process. (the library will simply print a string.) However, after a couple of hours research, I couldn't find any complete example. (HowTos)

9
is there a Control Centre in openbox?view story

http://crunchbang.org – I cannot find it.  I have a USB fax modem at ttyAMC0 and I need to allow my user access to it.  What GUI is used for this in #!?  Or are there other ways?  Not sure what the modem would be listed as in groups.  This a dialup fax modem which I will print documents to to fax them from the computer.  Here's what I have for groups.  I think it is probably dialup (HowTos)

9
Compare two files based on columnview story

http://www.unix.com – Hi, I have two files roughly 1200 fields in length for each row, sorted on the 2nd field. I need to compare based on that 2nd column between file1 and file2 and print lines that exist in both files into separate files (I can't guarantee that every line in file1 is in file2). (HowTos)

9
what's my ip, just another lil scriptview story

http://crunchbang.org – Nice of you to post.  The following URLs also provide plain text responses to avoid installing/using lynx:http://curlmyip.com http://icanhazip.com http://ipconfig.me/ipAnd the "-s" (silent) option will turn off curl progress/messages so you can do without redirecting stderr too.#!/bin/bash # internal ip echo -n "internal: " /sbin/ifconfig $1 | grep "inet addr" | (HowTos)