parrot_whoami(1)

πŸ“¦
version 9.9 Β· 3 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– parrot_whoami β€” the manual page, but make it cute πŸ’–

okay bestie, welcome to parrot_whoami(1), straight outta the Cooperative Computing Tools lineup. she's a lil one, but she's important, and honestly? iconic. let's get into it πŸ¦‹


✨ NAME ✨

parrot_whoami β€” returns the user's credentials (id and authentication method) from the perspective of the system being accessed.

like... who even am I, according to that system? that's the whole gig. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

parrot_whoami <path>

🌸 DESCRIPTION 🌸

okay so here's the tea β˜• β€” parrot_whoami goes and interrogates the system being accessed at <path> and hands you back two things:

  1. your user id, but from the perspective of that system (not your local one, bestie, that's the whole point)
  2. the authentication method currently being used

and the specific results? those depend entirely on the system being accessed. no cap. different system, different answer, that's just how it is.

if <path> is not provided, the current working directory is used. she's lowkey chill like that 🫢


πŸ‘‘ OPTIONS πŸ‘‘

parrot_whoami has no options.

periodt. zero flags. nothing to memorise. she said "I contain multitudes but not flags" πŸ’€


⭐ EXIT STATUS ⭐

  • On success β€” returns zero ✨
  • On failure β€” returns non-zero 😭

🌈 EXAMPLES 🌈

πŸ’œ getting your creds on a remote chirp server

so say you wanna know who you are when you're reaching out to a remote chirp server. you do this:

% parrot_run parrot_whoami /chirp/server.nd.edu/joe_data/data
unix:joe

and boom β€” unix:joe. that's you, according to them. main character energy honestly.

πŸ“ orrr if you're already living in a remote directory

then <path> is not necessary, because you're already there, babe:

% parrot_run tcsh
% cd /chirp/server.nd.edu/joe_data/data
% parrot_whoami
unix:joe
% exit

see how parrot_whoami just knew? no arguments needed. she read the room. 🧚


The Cooperative Computing Tools are Copyright (C) 2005-2019 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.

(legal girlies stay winning, we respect the license around here 🫑)


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

this lil cutie is brought to you by CCTools 8.0.0 DEVELOPMENT β€” the version to know, the vibe to trust. go interrogate a system and find out who you are. you got this. πŸ’œπŸ‘‘

πŸ“¦ where this page comes from