Selamlar,
Aşağıdaki kod ile /etc/passwd çekilmiyorsa rahatlıkla çekebilirsiniz. dosya uzantısını .java olarak kaydedin.
public void readLinuxUsers()
{
try
{
BufferedReader in = new BufferedReader(new FileReader("/etc/passwd"));
String str;
str...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.