[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 449
  • Last Modified:

freebsd syntax help

Experts,

I have a hardware appliance that runs FreeBSD.

Suppose I drill into a directory like this:

shell
cd /flash/folder1

then I need to see what other directories are in folder1 so I type:

l-ls

now I see other directories and want to go into folder1a

Is there a way I can just go into folder1a from where I'm at? I've been hitting the up arrow and appending /folder1a
0
trojan81
Asked:
trojan81
1 Solution
 
Dan CraciunIT ConsultantCommented:
If the structure is
/flash/folder1/folder1a

and you are in /flash/folder1

then you can simply type
cd folder1a

to reach that folder.

cd stands for "change directory"

Other helpful commands:
cd .. will take you to the previous folder (so to /flash if you are in /flash/folder1)
cd / will take you to the root dir

http://www.linuxnix.com/2012/07/23-linux-cd-command-examples.html

HTH,
Dan
0

Featured Post

Get Certified for a Job in Cybersecurity

Want an exciting career in an emerging field? Earn your MS in Cybersecurity and get certified in ethical hacking or computer forensic investigation. WGU’s MSCSIA degree program was designed to meet the most recent U.S. Department of Homeland Security (DHS) and NSA guidelines.  

Tackle projects and never again get stuck behind a technical roadblock.
Join Now