How / where do I set environment variables for gcc?view story

http://ubuntuforums.org – Hi Guys I get the following error when I try to compile with gcc: Code: sansari@ubuntu:~/androidkernel$ sudo make ARCH=arm [sudo] password for sansari:   CHK    include/linux/version.h   CHK    include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' is up to date.   CC      kernel/bounds.s gcc: error trying to exec (Hardware)

Tunnel troubleview story

http://ubuntuforums.org – Hi! I've encountered on the some problems while reading the book about Ubuntu " Robin Nixon - Ubuntu Up and Running ". Shortly speaking,It concerns using the terminal: He gives the following examples of bash code: 1) find / -name qwert* // This instructions should seek for any files which names contain the letters 'qwert'. (Hardware)

Repository updateview story

http://www.unix.com – i have a repository server for red hat and centos clients. the repository contain all the rpms from the original install cd. now lets say i will add for example the new BASH rpm that fixes the shellshock vaulnerbility. when the client machine will run the command: "yum update bash" did the yum will know to take the new BASH rpm? Thanks Guy (HowTos)

Create new file with increment column based on conditionsview story

http://www.unix.com – Hello, Using bash script, i need to process the following file: 887,86,,2013-11-06,1,10030,5,2,0,200,, 887,86,,2013-11-05,1,10030,5,2,0,199,, 887,138,,2013-11-06,1,10031,6,2,0,1610612736,, 887,164,,2013-11-06,1,10000,0,2,0,36000,, and to create a new file such as the below 887,100,200,86 887,101,199,86 887,100,1610612736,138 887,100,36000,164. The main functionality would be t (HowTos)

Cut command, no input delim, output delim not workingview story

http://www.unix.com – Hello, I'm using cygwin on my Windows 7 machine. From the man pages of cut: --output-delimiter=STRING use STRING as the output delimiter the default is to use the input delimiter I tried the following commands and got the error messages: Code: $ cut -c1-10,20-30 -d --output-delimiter=| filename cut: the delimiter must be a single character Try `cut --help' for more informat (HowTos)

Determine if screen is locked in c++/bashview story

http://ubuntuforums.org – Hi, I'm trying to figure out the best way to determine if the screen is locked or not. So far i've figured out this works: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But this call only works on some pc's. I have two pc's that have this method call. All my other pc's don't have it. (Hardware)

[ubuntu] Trackpad not working on Acer E3-111 in Ubuntu 14.04 LTSview story

http://ubuntuforums.org – My track pad refuses to work no matter what command I use (stuff that I can find on Google of course). It's notable that this was not the case when installing. (Hardware)

Workaround for bug in lxappearance v0.5.6 (testing/sid)view story

http://crunchbang.org – When changing themes with the recent version, lxappearance writes an incorrect  ~/.config/gtk-3.0/settings.ini.  See sourceforge bugsThis leads to errors like;[damo@cb1-laptop ~]$ galculator (galculator:13218): Gtk-WARNING **: Error setting gtk-xft-antialias in /home/damo/.config/gtk-3.0/settings.ini: Key file contains key 'gtk-xft-antialias' in group 'Settings' whi (HowTos)

Passing Shell Variable to awkview story

http://www.unix.com – Hello All, May i please why my shell variable is not getting passed into awk script. HTML Code: #!/bin/bash -vx i="1EB07C50" /bin/awk -v ID="$i" '/ID/ {match($0,/ID/);print substr($0,RSTART,RLENGTH)}' /var/log/ScriptLogs/keys.13556.txt Thank you. (HowTos)

Multiple entries for shellview story

http://www.unix.com – I have a simple shell file (convert.sh), that I would like to add a loop to that allows the user to have the "Enter ID:" prompt keep displaying until end is typed. So instead of: Code: bash ~/convert.sh Enter ID:123 bash ~/convert.sh Enter ID:456 bash ~/convert.sh Enter ID:789 The user would enter Code: bash ~/covert.sh Enter ID:123 Next ID: 456 Next ID:789 Next ID:end (shell (HowTos)