Solved

freebsd syntax help

Posted on 2014-04-18
1
440 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

690 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