Cutting the hair of another astronaut on the International Space Station is one of the most stressful things U.S. Air Force Col. Terry Virts has ever done — even above spacewalking, flying F-16s, piloting a space shuttle and enduring multiple rounds of survival training around the world.
Virts, a NASA astronaut selected in 2000, had to do it twice for Italian European Space Agency astronaut Samantha Cristoforetti while on the space station between November 2014 and June 2015. He was afraid of messing it up.
What is it like to cut hair in space? A lot like cutting it on Earth — except it stands straight up, which made it easier for Virts to layer her hair. Meanwhile, Russian cosmonaut Anton Shkaplerov stood by with a spray bottle and a vacuum, keeping her hair wet during the cut and vacuuming up pieces of hair so they wouldn't fly around the station.
"Both times Samantha seemed to be happy with the results," Virts wrote in his new book, "How to Astronaut: An Insider's Guide to Leaving Planet Earth."
During his 16 years with NASA before retiring in 2016, Virts served as a space shuttle pilot for Endeavour in 2010 and the space station commander during Expedition 43. Prior to that, Virts was also an Air Force test pilot and fighter pilot.
The book, published in September, is filled with anecdotes about every aspect of training, launching, living and leaving space.
"This is the book I wish I had before I was an astronaut," Virts told CNN. "But all of the really cool, exciting and dangerous things — I would not have wanted to know them. You want to discover them for yourself. You don't want to know the ending."
He set out to write a guide, rather than a memoir, as "a way to bring space to people and make something positive — 80% fun and happy, 20% angry and sad."

Virts is pictured during one of his three spacewalks.
Life in space
Virts shares the good, the bad and the ugly about the realities of being an astronaut, including details about uncomfortable spacesuits, the truth about going to the bathroom in space and what the glorious views of Earth and space are really like.
"The ride into orbit is the most exciting, utterly intoxicating eight and a half minutes you can imagine," Virts wrote.
During his time on the station, Virts also conducted three spacewalks. "What I saw changed my perspective on life," Virts wrote. "For a few glorious seconds, it was just me and the universe."
Virts described his seven months on the space station as 99% work and 1% of life-altering moments like he had during the spacewalk.
A common question Virts is asked during public speaking engagements is what it feels like to be in space — and the answer is falling. Astronauts quickly learn that flailing on the space station is a bad idea — and a good way to get hurt. Instead, they have to move slowly and deliberately as they grow accustomed to floating.
Even putting clothes on is really complicated in zero gravity, Virts told CNN. It usually takes a while for "rookie astronauts" to get the hang of it, and before they do, they have a few painful episodes of bouncing off the walls and ceiling of the station.
"Everything is harder in space, except for pull-ups," Virts said.
But astronauts have a wealth of incredible experiences, too.
Virts had the unique opportunity to film the IMAX movie "A Beautiful Planet" during his time on the station. He trained with the equipment on the ground a year before launching and worked with director Toni Myers and director of photography James Neihouse before and during the flight.
The documentary captures what life is like on the station for the astronauts as well as the stunning views they glimpse of Earth from the cupola, a grouping of seven windows on the space station that provide a panoramic view. It inspired a love for photography and documentary filmmaking in Virts, and he still views it as the most important work he did while on the station.

(From left) astronaut Terry Virts, commander of Expedition 43, is seen on the International Space Station along with crewmates Russian cosmonaut Anton Shkaplerov and European Space Agency astronaut Samantha Cristoforetti on May 6, 2015.
The darker side
Virts and his crew experienced some unusual circumstances during their time in space.
One day during their stay, the space station alarm went off, signaling an ammonia leak.
The astronauts sprang into action, pulling on gas masks and racing to the Russian segment so they could close off the US segment. The US segment uses ammonia as a coolant, but the Russian segment doesn't.
Ammonia inside the US segment would make it uninhabitable and create a toxic environment.
The crew huddled together during the tense time, wondering if it would be the end of the space station because ammonia is so difficult to scrub from the atmosphere.
Luckily, it turned out to be a false alarm and the crew was able to safely return to the US segment. But it was a reminder to Virts and the rest of the crew that space can be incredibly unforgiving.
The crew also had their stay on the space station extended by a month and had to go without some supplies when multiple cargo resupply ships exploded before reaching the space station. But the crew was conservative with their supplies and maintained a positive attitude.
Perhaps the darkest time in Virts' life as an astronaut came during the space shuttle Columbia tragedy in February 2003. He was an official family escort for the families of the Columbia crew at Kennedy Space Center when the shuttle was due to land. And he was with the family members when the news broke that Columbia had disintegrated upon reentering the atmosphere and all seven crew members were lost.
He said the Columbia crew was special, "genuinely decent and remarkable humans, the kind of people I wanted to grow up to be like. It was an honor to serve them and a tragedy to lose them."

Virts is shown inside the space station's cupola.
Life in space vs. Earth
Virts' book includes a special chapter on isolation, which he wrote during the early days of the pandemic in March. He compares the advantages of life in space and life on Earth and shares the lessons he learned as an astronaut that make isolation a bit more bearable.
"This won't go on forever," Virts said. "Keep that in mind; your mental state and willpower is so much more important than anything else."
Much like when Virts' crew thought they would be stuck on the space station indefinitely, attitude is everything. Instead of worrying about when he would return to Earth, Virts filled his time by exploring his passion for photography and captured beautiful views of Earth.
Be creative, exercise and avoid the extremes of isolation or constant contact, he said. And even if things seem grim now, don't project negativity on the future.
"Don't tell yourself no," Virts said. "As a kid, I wanted to be an astronaut and everyone told me no. If there is something you want to do, you've gotta go for it."
Virts is currently working on more writing and documentary projects.
But this first book was special for Virts; he wanted to preserve his memories of spaceflight for his children and the future.
"It brought me back to space," he said. "I could close my eyes and I was floating on the space station again."
RELATED: Celebrating the Hubble telescope with 30 years of photos from space
Carina Nebula

In this image provided by NASA, ESA and the Hubble SM4 ERO Team, a stellar jet in the Carina Nebula is pictured in space.
Space shuttle Atlantis

In this tightly cropped handout image provided by NASA, the NASA space shuttle Atlantis is seen in silhouette during solar transit at 10:27 a.m. EDT, May 18, 2009, from the Kennedy Space Center in Cape Canaveral, Fla.
Crab Nebula

This image gives the most detailed view so far of the entire Crab Nebula ever made. The image is the largest image ever taken with Hubble's WFPC2 workhorse camera.
Seyfert's Sextet

This image from the Hubble Space Telescope shows a group of galaxies called the Seyfert's Sextet on June 26, 2000. Although the name of this grouping suggests that there are six, there are in reality only four galaxies in the group that are slowly merging into one.
Lagoon Nebula

This NASA Hubble Space Telescope image shows a pair of one-half-light-year-long interstellar "twisters," eerie funnels and twisted-rope structures, in the heart of the Lagoon Nebula, which lies 5,000 light-years away in the direction of the constellation Sagittarius. The central hot star, O Herschel 36 (lower right), is the primary source of the ionizing radiation for the brightest region in the nebula, called the Hourglass.
Spiral galaxy NGC 4631

An image of NASA's Chandra X-ray Observatory and Hubble Space Telescope shows a halo of hot gas surrounding spiral galaxy NGC 4631 that is similar to the Milky Way galaxy, June 19, 2001. The orange color in the middle of the image represents ultraviolet radiation as observed by UIT, tracing massive stars in the galaxy.
Little Ghost Nebula

The Hubble Space Telescope took this image of a dying star named "NGC 6369" on Nov. 7, 2002. The star, also known as the "Little Ghost Nebula," is 2000 to 5000 light years from Earth and is similar in mass to our sun. The ghostly halo surrounding the star is caused by the shedding of the star's outer layers during the final stages of its life cycle.
Cone Nebula

The Cone Nebula, an innocuous pillar of gas and dust, is seen in this picture unveiled by astronomers on April 30, 2002.
Nebula IC 1396

Resembling a flaming creature on the run, this image exposes the hidden interior of a dark and dusty cloud in the emission Nebula IC 1396. Young stars previously obscured by dust can be seen here for the first time.
Cas A supernova

An image of a Cas A supernova reveals the remnants of a section of the upper rim of the youngest known supernova identified in our Milky Way galaxy. Dozens of tiny clumps near the top of the image are actually small fragments of the star, and each clump is approximately 10 times larger than the diameter of our solar system. The varying colors of the supernova are caused by glowing atoms.
Kepler's supernova

This image released Oct. 7, 2004, by NASA shows Kepler's supernova remnant produced by combining data from NASA's Hubble Space Telescope, Spitzer Space Telescope and Chandra X-ray Observatory. Kepler's supernova was first seen 400 years ago by sky watchers, including famous astronomer Johannes Kepler. The combined image unveils a bubble-shaped shroud of gas and dust that is 14 light-years wide and is expanding at 4 million miles per hour (2,000 kilometers per second).
Whirlpool Galaxy and Eagle Nebula

In this composite handout image released from the Hubble Space Telescope, the Whirlpool Galaxy and Eagle Nebula are seen April 25, 2005.
Fomalhaut

In this handout provided by NASA, a visible-light image from the Hubble Space Telescope shows a red ring of dust and debris that surrounds the star Fomalhaut and the newly discovered planet Fomalhaut b, orbiting its parent star.
Pluto and its moons

This undated image taken by the Hubble telescope shows Pluto and its moons Charon, Nix and Hydra. The International Astronomical Union announced on Aug. 24, 2006, that it no longer considered Pluto a planet, a status it had held since its discovery in 1930.
Jupiter

A curtain of glowing gas is wrapped around Jupiter's north pole like a lasso Dec. 19, 2000, in a Hubble telescope photo. The curtain of light, called an aurora, is produced when high-energy electrons race along the planet's magnetic field and into the upper atmosphere. The electrons excite atmospheric gases, causing them to glow. The aurora resembles the same phenomenon that crowns Earth's polar regions.
Radiant Star

The Radiant Star, Sept. 13, 1996.
'Eskimo' Nebula

Hubble takes a look at the "Eskimo" Nebula in this March 6, 2000, image. This stellar relic, first spied by William Herschel in 1787, was nicknamed the "Eskimo" Nebula because, when viewed through ground-based telescopes, it resembles a face surrounded by a fur parka.
NGC 1999

Just weeks after NASA astronauts repaired the Hubble Space Telescope in December 1999, the Hubble Heritage Project snapped this picture of NGC 1999, a nebula in the constellation Orion. The Heritage astronomers, in collaboration with scientists in Texas and Ireland, used Hubble's Wide Field Planetary Camera 2 (WFPC2) to obtain the color image.
Saturn

These Hubble Space Telescope images, captured from 1996 to 2000, show Saturn's rings open up from just past edge-on to nearly fully open as it moves from autumn toward winter in its Northern Hemisphere, part of the course of its 29-year journey around the sun.Â
Mars

A comparison image of the planet Mars reveals that a global dust storm has engulfed the planet. The storm is comprised of fine dust and obscures all surface features.
Stingray Nebula

The Stingray Nebula as photographed by the Hubble Space Telescope April 2, 1998.
Supernova self-destruction

The self-destruction of supernova 1987-A(C) is shown in this composite image taken in September 1994, February 1996 and July 1997.
Hubble Space Telescope

This April 6, 1994, image taken by the Hubble Space Telescope shows stars that lie near the center of our galaxy some 25,000 light-years distant. But one object, the blue curved streak (upper right), is something much closer. An uncatalogued, mile-wide bit of rocky debris orbiting the sun only light-minutes away strayed into the cameras field while the image was being exposed.
Moons of Jupiter

This is a Hubble Space Telescope "family portrait" of the four largest moons of Jupiter.
Elliptical galaxy

This April 1996 image from Hubble shows the beautiful, eerie silhouette of dark dust clouds against the glowing nucleus of the elliptical galaxy NGC 1316. It may represent the aftermath of a 100 million-year-old cosmic collision between the elliptical and a smaller companion galaxy.
Mars

This image released Aug. 27, 2003, shows a close-up of the red planet Mars when it was just 34,648,840 miles away. The color image was assembled from a series of exposures. Many small, dark, circular impact craters can be seen, attesting to the Hubble telescope's ability to reveal fine detail on the planet's surface.
Hubble Space Telescope

The sun reflects off the newly installed solar panels of the Hubble Space Telescope as it sits in the cargo bay of the space shuttle Endeavour on Dec. 9, 1993.
Hubble Space Telescope

Jeff Rudolph, president of the California Science Center in Los Angeles, is photographed in front of a Hubble Space Telescope image of part of the Carina Nebula, a place in our galaxy where stars are born, at the California Science Center on Aug. 17, 2012.