Hello simple question :
how can i split the $PATH by the ":" seperator with one liner ?
mybe using awk is there any builtin function in awk that splits and prints the output ?
thanks (2 Replies)
Hi,
I want to list all the last directories from mentioned base path.
for eg: If i have a base path say /base/base1/
How can i get the path till last node in tree like directory structure of unix by applying any command.
so that i will get following output.
... (7 Replies)
I'm trying to clean up my samba share and need to print the found file or print the path of the image it tried to searched for. So far I have this but can't seem to get the logic right. Can anyone help point me in the right direction?
for FILE in `cat list`; do
if ;
then
... (1 Reply)
Can any one tell me that how can i print all directory with their path in a given parent directory.
i.e. parent directory /home/usr/
Now this shoe directory may contain sevral directory
/home/usr
dir1/
dir1.1/
dir1.2/
dir2
dir2.1/
dir2.2/
... (5 Replies)
I would like to modify my .profile PATH to include all subdirectories of the directory I specify. For example, right now I have
PATH=$HOME/tier1
Tier1 has a tier2 directory in it. Right now I can execute files from tier1, but not tier2. I know I can add another path with $HOME/tier1/tier2,... (1 Reply)
Hi guys :)
First of all Happy New Year :)
so i dont know if my doubt its already here posted by other person ...
i need to print to one file the path of few files that are in different directories, like this:
directory muscle
ATP6.aa.muscle.fasta
COX1.aa.muscle.fasta
.
.
.
... (2 Replies)
Hi All,
I have a folder name lets say path/to/folder/CUSTOMER and under this i have several folders and each of these subfolder have serveral subfolders and so on and at some point i will have a folder name called "FTP_FILES" .
I need to search for these folders named "FTP_FILES and then... (10 Replies)
Hi,
So I struggled to find a solution to the following problem:
I want to make sed print only part of multiple different paths.
So lets say we have
/path/path1/path2/logs/bla/blabla
/path/path1/path2/path3/logs/yadda/yadda/yadda
Can someone suggest a way to make sed or other... (5 Replies)
Discussion started by: dampio
5 Replies
LEARN ABOUT DEBIAN
hwlocality_helper_find_coverings
Finding a set of similar Objects covering at least a CPU set(Hardware Locality (hwlFinding a set of similar Objects covering at least a CPU set(3)NAME
Finding a set of similar Objects covering at least a CPU set -
Functions
static inline hwloc_obj_t hwloc_get_next_obj_covering_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth,
hwloc_obj_t prev)
static inline hwloc_obj_t hwloc_get_next_obj_covering_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t
type, hwloc_obj_t prev)
Function Documentation
static inline hwloc_obj_t hwloc_get_next_obj_covering_cpuset_by_depth (hwloc_topology_ttopology, hwloc_const_cpuset_tset, unsigneddepth,
hwloc_obj_tprev) [static]
Iterate through same-depth objects covering at least CPU set set. If object prev is NULL, return the first object at depth depth covering
at least part of CPU set set. The next invokation should pass the previous return value in prev so as to obtain the next object covering at
least another part of set.
Note:
This function cannot work if objects at the given depth do not have CPU sets or if the topology is made of different machines.
static inline hwloc_obj_t hwloc_get_next_obj_covering_cpuset_by_type (hwloc_topology_ttopology, hwloc_const_cpuset_tset, hwloc_obj_type_ttype,
hwloc_obj_tprev) [static]
Iterate through same-type objects covering at least CPU set set. If object prev is NULL, return the first object of type type covering at
least part of CPU set set. The next invokation should pass the previous return value in prev so as to obtain the next object of type type
covering at least another part of set.
If there are no or multiple depths for type type, NULL is returned. The caller may fallback to
hwloc_get_next_obj_covering_cpuset_by_depth() for each depth.
Note:
This function cannot work if objects of the given type do not have CPU sets or if the topology is made of different machines.
Author
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
Version 1.4.1 Mon Feb 27 2012 Finding a set of similar Objects covering at least a CPU set(3)