Solved

freebsd syntax help

Posted on 2014-04-18
1
431 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
1 Comment
 
LVL 34

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now