07-11-2009
of course (if I thought our friend was root, i'd have mentioned it!)
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Dear All
When i am telnet' ing to some IP, after logging in, i am into some default path.I want to specify "custom path" , that is after logging in , when i do pwd it should be custom path.For this where i have to change the setting or edit the path already specified.
I am having... (4 Replies)
Discussion started by: tkbharani
4 Replies
2. What is on Your Mind?
This is a very serious post. I am a Cell Technician (Cellular Base Station Tech) who is completely bored because my job has basically evolved into a Field Secretary position. I love working on T1's and troubleshooting equipment outages and so on and so forth but my job has become VERY... (2 Replies)
Discussion started by: CoopDeVille
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I just need to repalce my include path of an cd.h file in a dir which is having more tha 100 files.
I used some sed and grep but unsuccessful.
I am using HP_UX and i need to change
#include "cd.h" to
#include <cd.h>
Please advise me. (1 Reply)
Discussion started by: jagan_kalluri
1 Replies
4. Shell Programming and Scripting
How do I add the option to change the path in a menu? I have this script. The user chooses a number and had the option of doing something, looking for log files etc. There is a possibility they might want to look at a different path other than what I have given them such as... (2 Replies)
Discussion started by: taekwondo
2 Replies
5. HP-UX
Hi,
when ever i login my unix system it is going to root directory....how can i change it specified directory.. (3 Replies)
Discussion started by: rsivasan
3 Replies
6. Shell Programming and Scripting
1. that you are calling the POSIX UNIX commands located under /usr/xpg4/bin instead of those under /usr/bin
2. that you can run programs from the current directory
3. that your scripts located in the bin directory under your HOME directory can be found and executed from any... (1 Reply)
Discussion started by: vpatel44
1 Replies
7. Shell Programming and Scripting
Hello,
I have a doubt:-
---------------------
Current script:-
################################################################################################
prefix=user@my-server:
find . -depth -type d -name .git -printf '%h\0' | while read -d "" path ; do (
cd "$path" || exit $?... (4 Replies)
Discussion started by: sahil_jammu
4 Replies
8. SuSE
Hi,
I want to add a path to PATH. I added export PATH=$PATH:$HOME/newpath in the ~.profile. I exit the shell and reenter shell. After I type echo $PATH. The new path is not added. I don't know why. Can someone give advice?
Thanks! (3 Replies)
Discussion started by: jianma
3 Replies
9. Shell Programming and Scripting
I want to change the path for the command in a shell. I want to make it easier to type in the command when I run the shell. As of now, I have to type in /bin/ls but I want to just type in "ls" instead. I have altered the function below to do this but it's not working. It still must have the full... (1 Reply)
Discussion started by: JustinT2474
1 Replies
10. UNIX for Dummies Questions & Answers
Dear All,
I would like to extract the file name without extension form a variable...
In particular I have a command like this one:
for file in path/to/file/example_number.ext
do something -input $file -output ${file%_number.ext}.new
done
means that in variable $file are saved all the path... (3 Replies)
Discussion started by: giuliangiuseppe
3 Replies
LEARN ABOUT DEBIAN
index_set
index_set(7rheolef) rheolef-6.1 index_set(7rheolef)
NAME
index_set - a set of indexes (rheolef-6.1)
SYNOPSYS
A class for: l = {1,3,...9} i.e. a wrapper for STL set<size_t> with some assignment operators, such as l1 += l2. This class is suitable
for use with the array<T> class, as array<index_set> (see array(2)).
IMPLEMENTATION
class index_set : public std::set<std::size_t> {
public:
// typedefs:
typedef std::set<std::size_t> base;
typedef std::size_t value_type;
typedef std::size_t size_type;
// allocators:
index_set ();
index_set (const index_set& x);
index_set& operator= (const index_set& x);
template <int N>
index_set& operator= (size_type x[N]);
void clear ();
// basic algebra:
void insert (size_type dis_i); // a := a union {dis_i}
index_set& operator+= (size_type dis_i); // idem
index_set& operator+= (const index_set& b); // a := a union b
// a := a union b
void inplace_union (const index_set& b);
void inplace_intersection (const index_set& b);
// c := a union b
friend void set_union (const index_set& a, const index_set& b, index_set& c);
friend void set_intersection (const index_set& a, const index_set& b, index_set& c);
// io:
friend std::istream& operator>> (std::istream& is, index_set& x);
friend std::ostream& operator<< (std::ostream& os, const index_set& x);
// boost mpi:
template <class Archive>
void serialize (Archive& ar, const unsigned int version);
};
SEE ALSO
array(2)
rheolef-6.1 rheolef-6.1 index_set(7rheolef)