I am using OpenVPN and whilst I can generate certificates using easyrsa just fine I don't really understand the settings in the easyrsa vars file:
export KEY_COUNTRY=""
export KEY_PROVINCE=""
export KEY_CITY=""
export KEY_ORG
export KEY_EMAIL=""
export KEY_EMAIL=
export KEY_CN=
export KEY_NAME=
export KEY_OU=
export PKCS11_MODULE_PATH=
export PKCS11_PIN=1234
Can anyone explain these settings ?
Hi Experts,
I would like to know, what does "2>&1" do in crontab?
example:
* * * * * /export/user/home/test.sh >> /export/user/home/logtest.log 2>&1
My colleague told me the commabd 2>&1 mean to prevent crontab sending an email (sendmail on /var/mail/root) when the script failed.
Currently I try to build a embedded Linux from scratch with the instructions from Cross Linux from Scratch.
Everything worked fine until I tried to compile the GCC Cross-Compiler. I want to build the Linux for the Beagleboard-xM...
Hi. Let's say that we have a variable called a and that we export it the terminal something like this : export package=tree; After that we have a script that does something( it doesn't matter in this problem) , and during the script i modified the varible package like thie:
package=1. But when i return to the terminal and i do a echo package, it remains the same: package=tree.
I am trying to show all my geotagged photos on Google Earth. I've tried used digiKam with KML export and it works. However, I am forced to select every photo that I want to export, meaning I can only work with one directory/folder at a time.
Is there any way that I can export all images in a directory and all subdirectories?
Also, can I remove the title text from the images?
Currently my terminal prompt looks like:
blankman-MacBook-Pro:~ $
My .bash_profile has:
export PS1="\[\033[36m\]\h:\W \[\033[33m\]\$(parse_git_branch)\[\033[00m\]\$(git config user.initials)$\[\033[00m\] "
export SUDO_PS1='\[\e[0;31m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[0m\]'
Does this make sense?
Hi,
I tried to add a path vairable
export GPLOAD_CONNECT_STR= -U crm -h sdc-gp1-dev1 -d wmgpdev
but it throws the below error
-bash: export: `-U': not a valid identifier
-bash: export: `-h': not a valid identifier
-bash: export: `sdc-gp1-dev1': not a valid identifier
-bash: export: `-d': not a valid identifier
Anyone please help to fix this error
thanks in advance,
Burton
I've created a crontab to run a php script (daemon) at boot.
crontab -l:
Code:
(at)reboot /usr/bin/php-cgi /var/backbone/fork_sema.php 2>&1 > /dev/null
I have a requirement to chaneg user inside a shell script and execute group of commands. I have done it many times earlier but never came across the issue with exporting variables. Strangely if a var is exported afetr su, it is not working where as if it is doen outside su, it work. ANother issue ,i noticed was with variable in for loop.