Solved

Is this Windows command or Unix command

Posted on 2016-10-20
6
44 Views
Last Modified: 2016-11-09
Hi I log onto a server. I need to access a file ABB in the directory /suu/app/Ver/ABB, bu I got an error message. Please see the below? What is wrong? Thank you

wm2% cd /suu
/suu

wm2% dir
app

wm2% cd /app
/app: No such file or directory
0
Comment
Question by:eemoon
6 Comments
 
LVL 92

Accepted Solution

by:
John Hurst earned 125 total points (awarded by participants)
ID: 41853118
There is no such Windows command - I have not seen this.

What are you logging into? It does look like a Linux / UNIX command.
0
 
LVL 95

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 125 total points (awarded by participants)
ID: 41853129
This is *nix, but even in windows, the basics would be wrong.

The ROOT of the file system is / in *nix.  In windows it's x:\

If you cd /suu in *nix you're changing to /suu

Then you list with dir (which is almost certainly an alias to ls with some switches) and what you're seeing is /suu/app (that COULD be a file OR a directory)

But then you type CD /app which means /app, not /suu/app.

You can change into it by cd /suu/app
Or by typing . (which means CURRENT directory) then /app - specifically
cd ./app

Open in new window

or
cd /suu/app

Open in new window

0
 
LVL 16

Assisted Solution

by:Hanno Schröder
Hanno Schröder earned 125 total points (awarded by participants)
ID: 41853437
or
 cd /suu     (go into topmost subdirectory)
 cd app      (go into next directory (on step deeper into the tree)
0
 
LVL 37

Assisted Solution

by:Gerwin Jansen
Gerwin Jansen earned 125 total points (awarded by participants)
ID: 41854628
cat  /suu/app/Ver/ABB

or:

cd  /suu/app/Ver
cat ABB

(to show content of file ABB)
0
 
LVL 92

Expert Comment

by:John Hurst
ID: 41880258
Question was fully answered
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

813 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

11 Experts available now in Live!

Get 1:1 Help Now