Search Results

Search: Posts Made By: Dorothy
5,150
Posted By Dorothy
I think in case the group id is found, then id...
I think in case the group id is found, then id returns '0' else its exit status is '1'.
5,150
Posted By Dorothy
But my idea too is that 'id' should be a better...
But my idea too is that 'id' should be a better approach. getent again is a pattern matching thing and could be ambiguous if there are users like test, test1, test2 and we are looking only for test...
5,150
Posted By Dorothy
Creating groups and users
Hi

Could anyone please suggest how we can check in Linux if a user or a group name is already existing? In case of a user the command should also be able to specify the user with a given directory...
Forum: Linux 08-12-2012
2,179
Posted By Dorothy
Linux through Java code
Hi

How can I write a Java program to execute Linux commands? What is the best approach:


Invoking the Linux shell within Java and executing commands
or, using the Java APIs to do the stuff....
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy