sgriffiths -1 Junior Poster in Training 18 Years Ago Hello if i have a file residing on a unix machine, how do i get the stats of the file, ie date stamp of file, and username of file. Best Regards c 0 0 Share Narue 5,707 Bad Cop Team Colleague 18 Years Ago $ man stat 1 0 Share sgriffiths -1 Junior Poster in Training 18 Years Ago Great, i can now get all sorts of info for my file. I tried using the uid to get user id, this displays integer values from the password file i think. How can i display the username ie chrism 0 0 Share Rashakil Fol 978 Super Senior Demiposter Team Colleague 18 Years Ago man getpwuid 0 0 Share Share Facebook Twitter LinkedIn Reply to this topic Be a part of the DaniWeb community We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge. Sign Up — It's Free!
sgriffiths -1 Junior Poster in Training 18 Years Ago Great, i can now get all sorts of info for my file. I tried using the uid to get user id, this displays integer values from the password file i think. How can i display the username ie chrism 0 0 Share