715 reputation
310
bio website
location Poland
age 24
visits member for 1 year, 3 months
seen yesterday
stats profile views 18
  • IT student and Software Engineer
    • C++ coder
    • Linux enthusiast
    • games programmer (basics :) )
    • networking enthusiast
    • SC2 player :)

2d
asked Colorful ssh banner
May
8
comment Why ssh -nq -t can't see my environment variable?
Thanks a lot for your support but I still cannot solve my problem. With XXXX_LICENSE_FILE=/etc/xxxx.lic && ssh -nq -t -t -t root@$ip /etc/init.d/xxxx.rc start run from local machine I still get the error that Can't find environment variable "XXXX_LICENSE_FILE". If I run this /etc/init.d/xxxx.rc start manually it goes without a problem though.
May
8
comment Why ssh -nq -t can't see my environment variable?
Yes, I am root:x:0:0:root:/root:/bin/bash. And yes - the remote one.
May
8
comment Why ssh -nq -t can't see my environment variable?
I have the variable both in .bashrc and .bash_profile defined as follows export XXXX_LICENSE_FILE=/etc/xxxx.lic, then I have in script ssh -nq -t -t -t root@$ip /etc/init.d/xxxx.rc start
May
7
comment Why ssh -nq -t can't see my environment variable?
Even after defining the variable in .bash_profile system can't find the variable.
May
6
accepted How to compile tmux 1.7 on CentOS 5.8?
Apr
15
comment Why ssh -nq -t can't see my environment variable?
In .bashrc file .
Apr
15
asked Why ssh -nq -t can't see my environment variable?
Feb
11
comment Bash 3.0 not supporting lists?
Very good answer. Thanks a lot @manatwork
Feb
11
accepted Bash 3.0 not supporting lists?
Feb
11
asked Bash 3.0 not supporting lists?
Feb
11
accepted How to remove element from the list?
Feb
10
awarded  Yearling
Feb
7
accepted What is an equivalent of rm `find lib/ -name *.swp` without find?
Feb
7
accepted Problem mounting my iRiver story HD on Ubuntu
Feb
5
comment How to remove element from the list?
@manatwork Well it's also a solution but if it's possible to be done without then I would like to see it as well.
Feb
5
revised How to remove element from the list?
edited tags
Feb
5
asked How to remove element from the list?
Feb
1
comment Is it possible to store ssh connection in bash script instead of $(ssh user@ip command) every time?
@ott-- yes, that was just a typo; Will this append result of the command to the variable or will it overwrite it ?
Feb
1
revised Is it possible to store ssh connection in bash script instead of $(ssh user@ip command) every time?
edited body