06-29-2015
I love it. Thanks for all the replies.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How would i do if i'd want to execute a command in a python script or programme ? (1 Reply)
Discussion started by: J.P
1 Replies
2. Red Hat
Building software in most languages is a pain. Remember ant build.xml, maven2 pom files, and multi-level makefiles?
Python has a simple solution for building modules, applications, and extensions called distutils. Disutils comes as part of the Python distribution so there are no other packages... (0 Replies)
Discussion started by: Linux Bot
0 Replies
3. Shell Programming and Scripting
q = ((i + 2) * 6) >> 3
what's the meaning in python? (3 Replies)
Discussion started by: kazikamuntu
3 Replies
4. Shell Programming and Scripting
Hi list,
I have to combine two lines and adding the " - " in between.
So:
Here's sentence A
Here's Senctence B
Here's sentence A - Here's Senctence B
I know how to us SED: sed '$!N;s/\n/ /' for combining tow lines. But how do
I insert the " - " correctly?
Thanks!
Martijn
(os... (4 Replies)
Discussion started by: M474746
4 Replies
5. Shell Programming and Scripting
I am trying to generate a csv file for utilization of each project directory. there are 10 filesystem and for each filesystem there are 16 directory.
i was trying to create a script so i created two file. one is filesystem and one is project. so file looks like
cat filesystems
/app1
/app2... (10 Replies)
Discussion started by: anshu ranjan
10 Replies
6. Shell Programming and Scripting
While looping through a file, I am cutting different length of characters (based on their length) like columns and want to produce the output in a separate file with different columns being separated by a comma.
How to achieve this with an online command. I don't want to create multiple variables... (8 Replies)
Discussion started by: mady135
8 Replies
7. Shell Programming and Scripting
I am working on requirement on spreadsheet in python scripting.
I have a spreadsheet containing cell values and with background color.
I am able to read the value value but unable to get the background color of that particular cell.
Actually my requirement is to read the cell value along... (1 Reply)
Discussion started by: giridhar276
1 Replies
8. Windows & DOS: Issues & Discussions
Hi all,
I am trying to run below python code for connecting remote windows machine from unix to run an python file exist on that remote windows machine..
Below is the code I am trying:
#!/usr/bin/env python
import wmi
c = wmi.WMI("xxxxx", user="xxxx", password="xxxxxxx")... (1 Reply)
Discussion started by: onenessboy
1 Replies
9. Programming
Hi all...
As you know I like making code backwards compatible for as many platforms as possible.
This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
LEARN ABOUT DEBIAN
tomoyo-selectpolicy
TOMOYO-SELECTPOLICY(8) System Administration Utilities TOMOYO-SELECTPOLICY(8)
NAME
tomoyo-selectpolicy - policy selection utility for TOMOYO Linux
SYNOPSIS
tomoyo-selectpolicy [options] <domain> ...
DESCRIPTION
This program reads domain policy from standard input, and outputs policy from the specified domain to standard output.
OPTIONS
-r Pick up all domains whose domain name starts with the specified string.
<domain>
The string must be quoted or escaped to avoid misinterpretation by the shell. It only matches an exact string unless the "-r" option is
specified.
EXAMPLES
Pick up domain policy for sshd and its descendents
tomoyo-selectpolicy -r '<kernel> /usr/sbin/sshd' < /sys/kernel/security/tomoyo/domain_policy
BUGS
If you find any bugs, send an email to <tomoyo-users-en@lists.sourceforge.jp>.
AUTHORS
Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Main author.
Jamie Nguyen <jamie@tomoyolinux.co.uk>
Documentation and website.
SEE ALSO
tomoyo-sortpolicy(8)
See <http://tomoyo.sourceforge.jp> for more information.
tomoyo-tools 2.5.0 2012-04-14 TOMOYO-SELECTPOLICY(8)