Thanks for the update.
I ran this to update (as I had done earlier to do the initial install):
but this is what I got:
On a system:
Let me know if you see something wrong here. Do you want me to post this as an issue on github?
However, I got:
On a system:
And the command jc -p ls -l /usr/bin appeared to work correctly on that system.
Best wishes, cheers, drl
Last edited by drl; 02-23-2020 at 08:23 AM..
Reason: Add information.
Hi All,
I have a output like below values
val1=test.com
val2=10.26.208.11
val3=en1
val4=test-priv1.com
val5=192.168.3.4
val6=en2
val7=test-priv2.com
val8=192.168.4.4
val9=en3
val10=test-vip.com
val11=10.26.208.9
val12=$val3
I want to convet this output values into below... (1 Reply)
Friends,
I am trying to convert my local server timezone EST to UTC and for which I used the TZ command, see below
$ date
Thu Dec 6 10:14:14 EST 2012
$
$ TZ=UTC date -d '10:14 EST'
Thu Dec 6 15:14:00 UTC 2012
Now I would like to have the same output in 'yyyymmdd hh:mm' format.
... (4 Replies)
Hello Experts,
Below is the record i have:
sample data attached
I want this record of each row to be in single line and there are multiple rowise unixtime mentioned e.g 11996327 , This needs to be converted to Human readdable data and time from multiple rows
Can you help me , it will be... (10 Replies)
Hello everyone,
I have created a workflow that will pull down data via a RESTful API in JSON, then my code parses and modifies said data. The problem I have is that these APIs I am working with only accept XML to PUT/POST data, and I am looking for an easy way to convert my JSON file to XML.
... (2 Replies)
Hello Everyone,
I have a sample file raw.txt as shown below :
Drive Bays
Bay Name : SD-2C
Number of Standby Power Supplies : 4
Number of Drive Enclosures : 12
Summary Status of Contained Modules
All... (6 Replies)
Dear friends,
I'm getting below API result and i would like to format them with Shell scripting.
Input
"id": 9,
"description": "short desc",
"name": "test",
"name_with_namespace": "ABCD-PDFF-PLATFORM-TEST-V1 / test",
"path": "test",
"path_with_namespace":... (7 Replies)
Hi All,
i am trying to print the solaris 11 packages in below required format, But i am unable to do that.
Current ouput :
root@abc# pkginfo -l | egrep '(BASEDIR|NAME|VERSION)' | awk '{print}'
NAME: QLogic 570x/571x Gigabit Ethernet Driver
VERSION: 11.11,REV=2009.11.11
... (7 Replies)
This is the sample json I have pasted here. I want all the IP address strings to be converted into an array. For example "10.38.32.202" has to be converted to everywhere in the JSON. There are multiple IPs in a JSON I am pasting one sample object from the JSON. But the IPs already in an Array... (11 Replies)
Hi All,
i am trying to print the df -h ouput in json format. using below script.
#!/usr/bin/env bash
df -h > /tmp/sdf
nawk '{print " "$1" "$2" "$3" "$4" "$5" "$6" "}' /tmp/sdf > /tmp/sdf1
nawk 'NR==1 { for (i=1; i<=NF; i++) { f = i }}{ print $(f), $(f), $(f), $(f), ... (2 Replies)
Discussion started by: sravani25
2 Replies
LEARN ABOUT DEBIAN
virtualenv
VIRTUALENV(1)VIRTUALENV(1)NAME
virtualenv - create virtual Python instances
SYNOPSIS
virtualenv [options...] [destination-directory]
DESCRIPTION
virtualenv creates virtual Python executables, each of which can have its own set of installed modules. Programs that require different
versions of modules or sets of modules that may be incompatible with others to be installed on the same system without conflicts.
The result is a directory containing its own Python executables (in DIR/bin/pythonVER and DIR/bin/python) and its own module directory
containing the standard library as installed by the system. Additional modules may be installed via setuptools, as invoked from the binary
directory (DIR/bin/easy_install). The system's site-packages directories will not be available by default, but can be made visible with the
--system-site-packages option. They can then be overridden with locally-installed modules.
In addition, a shell script called "activate" will be installed in the bin directory. If sourced, this will cause normal invocations of the
Python executable to use the virtual environment.
By running the virtualenv command explicitly under the desired Python interpreter, the user can control which version of Python is created
in the virtual environment.
OPTIONS -h, --help
Show summary of options.
--version
Show the version of the program.
-v, --verbose
Be more verbose.
-q, --quiet
Be less verbose; suppress unimportant output.
--clear
Clear out a previously-created virtual Python instance in this location before creating a new one.
-p PYTHON_EXE,--python=PYTHON_EXE
The Python interpreter to use to create the new environment.
--no-site-packages
Ignored (the default). Don't give access to the global site-packages modules to the virtual environment.
--system-site-packages
Give access to the global site-packages modules to the virtual environment.
--unzip-setuptools
Unzip Setuptools or Distribute when installing it.
--relocatable
Make an EXISTING virtualenv environment relocatable.
--distribute
Ignored. Distribute is used by default. See --setuptools to use Setuptools instead of Distribute.
--setuptools
Use Setuptools instead of Distribute. Set environ variable VIRTUALENV_SETUPTOOLS to make it the default.
--extra-search-dir=SEARCH_DIRS
Directory to search for setuptools/distribute/pip distributions in. Can be specified multiple times.
--never-download
Never download anything from the network. Instead, fail if local distributions of setuptools/distribute/pip are not present.
--prompt==PROMPT
Provides an alternative prompt prefix for this environment.
AUTHORS
This manual page was originally written by Jeff Licquia <licquia@debian.org>, later rewritten by Carl Chenet <chaica@ohmytux.com>.
LICENSE
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, version 2 or any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
COPYRIGHT
Copyright (C) 2007 Jeff Licquia
12/02/2009 VIRTUALENV(1)