Sponsored Content
Full Discussion: Mac OS X & Unix.
Special Forums UNIX Desktop Questions & Answers Mac OS X & Unix. Post 20417 by lethe on Thursday 25th of April 2002 11:57:04 PM
Old 04-26-2002
here is a nice way to list all commands available to you.
Code:
% ls `echo $PATH | sed 's/:/ /g'` | more

NB: those are back-quotes enclosing front-quotes. you might be best served by just cutting and pasting this to your terminal.

this will list all commands available to you at your terminal, one screen at a time. this is not really a good way to begin using and understanding UNIX, because there will probably be lots of commands (100?), and you won t learn too much from just seeing them. most of them will have esoteric names that you won t understand. but you asked for it and here it is.

if you see a command that looks interesting, type:
Code:
% man commandname

to learn more

understanding how this command works will go a long way towards teaching you about how to use UNIX. here we have most basic UNIX concepts: piping, shell variables, regexpressions with sed, command substitution and basic file commands like ls, echo, and more.

Last edited by lethe; 04-26-2002 at 01:07 AM..
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mac OS X & Web Dev

Could someone recommend a good book? Regarding Unix and Mac os X? I know the OS is new, but Unix ain't. I would like to know more about setting up the webserver on my machine. All the HTML works fine, it's just when i try to execute a cgi, php or a pl script.. :( I have tried and tried to... (2 Replies)
Discussion started by: Chojin
2 Replies

2. UNIX Desktop Questions & Answers

what is the difference between Unix & linux, what are the advantages & disadvantages

ehe may i know what are the difference between Unix & Linux, and what are the advantages of having Unix as well as disadvantages of having Unix or if u dun mind i am dumb do pls tell me what are the advantages as well as the disadvantages of having linux as well. thanks (1 Reply)
Discussion started by: cybertechmkteo
1 Replies

3. OS X (Apple)

MAC OS X : Q & A :

:confused: = :mad: = :eek: = We have the answear ;) (1 Reply)
Discussion started by: i[c]e
1 Replies

4. OS X (Apple)

Mac OS X & UNIX

I just joined the Forum a few days ago! :) I have a mac book and decided to look under the hood. Low and behold, UNIX! To be honest, I know nothing about unix, but I want to learn. I have no real goals as of yet, other than to learn what I can. I do own a few domains hosted by a good company. ... (4 Replies)
Discussion started by: fellojello
4 Replies

5. Shell Programming and Scripting

How to write If statement using && and operator in Unix

Hi What is the syntax for if statement using && and || operator? if && ] || here its giving me an error to this if statement any suggestion?? (2 Replies)
Discussion started by: Avi
2 Replies

6. UNIX for Dummies Questions & Answers

[solved] Where & what bash env file, Mac OS?

Hi! I wanted to simplify my bash prompt, so I edited my etc/bashrc file. I thought this was the file that would override any other env files. When I opened it, I saw that the way it was setup was not what my prompt looked like, although I forget exactly what was there. But i edited it the way I... (1 Reply)
Discussion started by: sudon't
1 Replies
File::Spec::Functions(3pm)				 Perl Programmers Reference Guide				File::Spec::Functions(3pm)

NAME
File::Spec::Functions - portably perform operations on file names SYNOPSIS
use File::Spec::Functions; $x = catfile('a','b'); DESCRIPTION
This module exports convenience functions for all of the class methods provided by File::Spec. For a reference of available functions, please consult File::Spec::Unix, which contains the entire set, and which is inherited by the modules for other platforms. For further information, please see File::Spec::Mac, File::Spec::OS2, File::Spec::Win32, or File::Spec::VMS. Exports The following functions are exported by default. canonpath catdir catfile curdir rootdir updir no_upwards file_name_is_absolute path The following functions are exported only by request. devnull tmpdir splitpath splitdir catpath abs2rel rel2abs case_tolerant All the functions may be imported using the ":ALL" tag. COPYRIGHT
Copyright (c) 2004 by the Perl 5 Porters. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
File::Spec, File::Spec::Unix, File::Spec::Mac, File::Spec::OS2, File::Spec::Win32, File::Spec::VMS, ExtUtils::MakeMaker perl v5.18.2 2014-01-06 File::Spec::Functions(3pm)
All times are GMT -4. The time now is 06:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy