Solved

Is this Windows command or Unix command

Posted on 2016-10-20
6
40 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 90

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 90

Expert Comment

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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…
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.

758 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

21 Experts available now in Live!

Get 1:1 Help Now