Jump to content

I have a homework problem about unix/linux command line but I don't have a computer on it to test it out right now.

When you are in the terminal what do you type to get your current path?


I think it's like echo $Path, but what part of that do you specifically type? or is it the whole thing? Does echo come by default?

Link to comment
https://linustechtips.com/topic/581158-quick-linuxunix-help/
Share on other sites

Link to post
Share on other sites

10 minutes ago, bobhays said:

I have a homework problem about unix/linux command line but I don't have a computer on it to test it out right now.

When you are in the terminal what do you type to get your current path?


I think it's like echo $Path, but what part of that do you specifically type? or is it the whole thing? Does echo come by default?

$ pwd

Link to comment
https://linustechtips.com/topic/581158-quick-linuxunix-help/#findComment-7589785
Share on other sites

Link to post
Share on other sites

It's...

 

	pwd
	

If you wonder why it's pwd, it stands for Print Working Directory.

Where I hang out: The Garage - Car Enthusiast Club

My cars: 2006 Mazda RX-8 (MT) | 2014 Mazda 6 (AT) | 2009 Honda Jazz (AT)


PC Specs

Indonesia

CPU: i5-4690 | Motherboard: MSI B85-G43 | Memory: Corsair Vengeance 2x4GB | Power Supply: Corsair CX500 | Video Card: MSI GTX 970

Storage: Kingston V300 120GB & WD Blue 1TB | Network Card: ASUS PCE-AC56 | Peripherals: Microsoft Wired 600 & Logitech G29 + Shifter

 

Australia 

CPU: Ryzen 3 2200G | Motherboard: MSI - B450 Tomahawk | Memory: Mushkin - 8GB (1 x 8GB) | Storage: Mushkin 250GB & Western Digital - Caviar Blue 1TB
Video Card: GIGABYTE - RX 580 8GB | Case: Corsair - 100R ATX Mid Tower | Power Supply: Avolv 550W 80+ Gold

 

Link to comment
https://linustechtips.com/topic/581158-quick-linuxunix-help/#findComment-7590544
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×