Solved

Is this Windows command or Unix command

Posted on 2016-10-20
6
50 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 93

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 38

Assisted Solution

by:Gerwin Jansen, EE MVE
Gerwin Jansen, EE MVE 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 93

Expert Comment

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Virtualizing TAPE on dual VIOS 3 101
Convert OverPunch 25 66
ORA-00972: identifier is too long from Unix but not from Windows in SQLPLUS 17 98
centos commands 6 68
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

861 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