Solved

freebsd syntax help

Posted on 2014-04-18
1
437 Views
Last Modified: 2016-02-11
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
Comment
Question by:trojan81
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 35

Accepted Solution

by:
Dan Craciun earned 400 total points
ID: 40009236
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question