08-08-2005
Quote:
Originally Posted by Scrat
Hi guys, i'm new to UNIX and only know a small amout about it, but have just had some changes at work which now require me to interact with and work on SUN Unix systems often. I have reasonable knowledge of PC's but hope that you will be able to help me with these questions.
Part1.
I would like to know if there is a program or Unix command that will make a text file out put or similar listing of all the directories & files on a SUN Ultra5 computer running SunOS 5.6?
Part2.
I am using a Windows2000 computer to telnet to the SUN Ultra5 computer on our office network, and would like to know(if the above program does exist) how to transfer a file from the W2K PC to the SUN computer using Telnet, and also from the SUN PC to the W2K PC?
Please let me know if there is any more information you require.
Welcome to the world of unix...we hope you enjoy your stay.
Part 1. The unix command "ls -Al" (without the quotes) will give you a listing of the files and directories in the current directory. You can do a "ls -Al > filename" which will put the output of the "ls -Al" command into a filename of your choosing. If you do a "ls -al" you will see all of the files plus the hidden . (dot) files.
Part 2. I'm not sure if telnet is what you should use. Telnet will allow you to connect to a unix box from a pc, but I'm not sure you can use it to transfer files. Best bet is to search the man pages on the unix box for ftp, i.e. man ftp.
Hope this gets you started. Good luck!
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello people,
I want to list the files & folders created/modified since a particular date say June 2006. I know I can list recursively thru the folders and use awk to extract the date column to get the desired output.
Just wanted to check whether there is an easier way to do this. Please... (2 Replies)
Discussion started by: tipsy
2 Replies
2. Shell Programming and Scripting
im a bit new to this and have been playing quite a bit and cant figure it out :(
I have made a basic script:
cd /folder/software1/bin/;
echo "software1," >> /in/local/var/trace/davescripts/software.txt "\c";
ls -tm >> /in/local/var/trace/davescripts/software.txt;
and this basically... (1 Reply)
Discussion started by: truCido
1 Replies
3. UNIX for Dummies Questions & Answers
How to list out the files which are not accessed for the last n days?
and
How to list out all the executable files in a directory?
can anyone help me on the above?
Thanks in advance. (3 Replies)
Discussion started by: venkatesht
3 Replies
4. Shell Programming and Scripting
find . -type f -name "*.sql" -print|xargs perl -i -pe 's/pattern/replaced/g'
this is simple logic to find and replace in multiple files & folders
Hope this helps.
Thanks
Zaheer (0 Replies)
Discussion started by: Zaheer.mic
0 Replies
5. Shell Programming and Scripting
How can I list the files in a directory and just show the file size, date stamp, timestamp and file name..
I've been trying to ls -lrt the directory to a file and then use the cut command but I'm not having any luck with getting the proper results.. I thought i could use the -f switch and count... (4 Replies)
Discussion started by: Jazmania
4 Replies
6. Solaris
Is it possible to install 2 flavors of Unix on a single machine ?
-HP Unix
-SUN Solaris
Please provide sufficient information to carry both of the above OS installation on single machine.Any guide/steps/document will do. (3 Replies)
Discussion started by: mahix
3 Replies
7. Shell Programming and Scripting
Hi All,
My AIX server have a mounted drive "/stage". I want to list the latest modified/created files in this drive. Also large files in this drive.
I tried to ls -l | sort +4nr | head -10
Someother solutions to list from entire drive.
Thanks. :) (6 Replies)
Discussion started by: karumudi7
6 Replies
8. Shell Programming and Scripting
Hi guys,
I'm new to the forums and putting my foot in the door with SED and AWK. I was wondering if someone could help me as I think I'm making this harder than it needs to be...
I have a list of folders named as urls, inside these are log files and possibly a 'status' file. I'm trying to get... (6 Replies)
Discussion started by: KakersUK
6 Replies
9. UNIX for Dummies Questions & Answers
is there any command that can make listing files like this
/data/seismic/prestack-4/eon5/PEP/JAWA/AKASIA-BAGUS/3D/F/BL3-4/F12AKB3D_SW82-128_ID1696-1850.segy
/data/seismic/prestack-4/eon5/PEP/JAWA/AKASIA-BAGUS/3D/F/BL3-4/F12AKB3D_SW82-128_ID1851-1975.segy ... (2 Replies)
Discussion started by: muhnandap
2 Replies
LEARN ABOUT OPENSOLARIS
1394
ieee1394(7D) Devices ieee1394(7D)
NAME
ieee1394, firewire, 1394 - Solaris IEEE-1394 Architecture
DESCRIPTION
IEEE-1394 provides a means for interconnecting devices in computer and home entertainment systems. (The IEEE-1394 architecture is also
known as Firewire, an Apple Computer trademark, and i.Link, a Sony trademark). The most common IEEE-1394 devices are digital camcorders,
mass-storage devices and cameras (including webcam-type devices). For more information on USB, refer to the 1394 Trade Association website
at http://www.1394ta.org.
The Solaris IEEE-1394 architecture supports up to 63 hot-pluggable IEEE-1394 devices per IEEE-1394 bus. The maximum data transfer rate is
400 Mbits, depending on the capabilities of the attached device.
The Solaris IEEE-1394 architecture supports devices implementing a number of different specifications. The basic behavior of the IEEE-1394
bus is described in the IEEE 1394-1995 and IEEE 1394a-2000 specifications.
IEEE-1394 host controllers implementing the 1394 Open Host Controller Interface specification are supported. Camcorders implementing
the IEC 61883 and 1394 Trade Association AV/C specifications are supported. Mass-storage devices implementing the ANSI SBP-2 specification
are supported. Digital cameras implementing the 1394 Trade Association 1394-based Digital Camera (IIDC) specification are supported.
FILES
Listed below are drivers and modules which either utilize or are utilized by the Solaris IEEE-1394 architecture. Drivers in /kernel/drv are
32 bit drivers (only). Drivers in /kernel/drv/sparcv9 or /kernel/drv/amd64 are 64 bit drivers.
+--------------------------------------------------------+-------------------------------+
| SUPPORT MODULE(S) | FUNCTION |
+--------------------------------------------------------+-------------------------------+
|/kernel/misc/[sparcv9|amd64/]s1394 | IEEE-1394 framework |
+--------------------------------------------------------+-------------------------------+
|/kernel/misc/[sparcv9|amd64/]sbp2 | Serial Bus Protocol-2 (SBP-2) |
+--------------------------------------------------------+-------------------------------+
+--------------------------------------------------------+-----------------------------+
| TARGET DRIVER | DEVICE CLASS |
+--------------------------------------------------------+-----------------------------+
|/kernel/drv/[sparcv9|amd64/]s1394 | IEEE-1394 framework |
+--------------------------------------------------------+-----------------------------+
|/kernel/drv/[sparcv9|amd64/]scsa1394 | mass storage class |
+--------------------------------------------------------+-----------------------------+
|/kernel/drv/[sparcv9|amd64/]av1394 | camcorder (AV/C) class |
+--------------------------------------------------------+-----------------------------+
|/kernel/drv/[sparcv9|amd64/]dcam1394 | digital camera (IIDC) class |
+--------------------------------------------------------+-----------------------------+
+--------------------------------------------------------+----------+
| HOST CONTROLLER INTERFACE DRIVER(S) | DEVICE |
+--------------------------------------------------------+----------+
|/kernel/drv/[sparcv9|amd64/]hci1394 | Open HCI |
+--------------------------------------------------------+----------+
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |PCI-based systems |
+-----------------------------+-----------------------------+
|Availability |SUNW1394, SUNW1394h, SUN- |
| |Wav1394, SUNWscsa1394, SUN- |
| |Wsbp2, SUNWfwdc, SUNWfwdcu |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5), av1394(7D), dcam1394(7D), hci1394(7D), scsa1394(7D)
http://www.sun.com/io
IEEE 1394a Specification - 1394 Trade Association, 2000
IEEE 1394 Specification - 1394 Trade Association, 1995
NOTES
Booting from IEEE-1394 mass-storage devices is not supported, but may be possible if supported by the BIOS of the computer system.
SunOS 5.11 30 August 2005 ieee1394(7D)