Sponsored Content
Full Discussion: lot of commands not found!
Top Forums UNIX for Dummies Questions & Answers lot of commands not found! Post 62869 by zazzybob on Monday 21st of February 2005 06:02:37 AM
Old 02-21-2005
Try

find / -name cc -print

that should tell you if cc is present anywhere on the system (maybe you have "gcc" installed instead? try that).

With regards to not being able to create files, what does

ls -l .

tell you? Do you have permissions to create files in the directory you are in? Are you in your home directory - can you create files there? Does the file you're trying to redirect "cat" to already exist and you've got "noclobber" set in the shell? (type "set -o" to see what options are set).

Try "touch some_new_filename" and see if that works.

Cheers
ZB
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Commands not found.

I executed my script and it says not found. #! /bin/ksh trymonitor.sh: rm: not found. + sleep 15 trymonitor.sh: sleep: not found. trymonitor.sh: awk: not found. trymonitor.sh: wc: not found. Thanks and Regards, Kay (1 Reply)
Discussion started by: kayarsenal
1 Replies

2. Shell Programming and Scripting

rename a lot of files again

here I go again...kinda hard to explain so I apologize. I need to rename a bunch of files in a directory. I need to remove the first three characters of the filename, and then toward the end of the filename there is constant text inside of brackets. here is a demo (not for real) 'ls -1' of the... (11 Replies)
Discussion started by: ajp7701
11 Replies

3. Shell Programming and Scripting

Need a lot of help with a script

First off just would like to say hello I'm new to this forum but it looks very interesting and I'm sure I will learn a lot from the various people here.:b: I'm new to UNIX and more so scripting in it. I have an assignment for a class that's mostly done online and my teacher is of no help... (7 Replies)
Discussion started by: tweak
7 Replies

4. UNIX for Dummies Questions & Answers

help! I need a lot of help with unix!

Hey people, at first: I'm from Germany, so my english isn't very good, okay?;) I this september I start with my studys and now we use UNIX! I understand nothing. No, that's not right, at the beginnig I understood a little bit. But now we are at the .profile and there I have problem because my... (1 Reply)
Discussion started by: Tsukasu
1 Replies

5. Shell Programming and Scripting

chmod a lot of files

So i have about 600gb of data.. in which there are alot of directories and alot of files.. Im trying to put this on a ftp server.. So i want to set the permissions on the directories to be 755 and the permission on the files to be 644. So i used: find . -type d -exec chmod 755 {}\; and find .... (6 Replies)
Discussion started by: supermiguel
6 Replies

6. SCO

Very lot of systemcalls

I have one system running SCO MP4, whitch has sometimes a lot of system calls /s : CALLS/s: 23405 calls 0 forks 0 execs 6067 reads 78 writs 11975 Krwch PAGING/s: 0 pgins 0 pgots 5983 atchs 0 pflts 322 vfltsThese values are found with the tool rtpm ... (1 Reply)
Discussion started by: jkuiper
1 Replies

7. Shell Programming and Scripting

Need lot of examples

Hi, I need a word doc or pdf which contains lots of Shell Programming samples... This is for my open book examination, thanks in advance.. (2 Replies)
Discussion started by: karthikeayan
2 Replies

8. Solaris

Baisc commands in Solaris 10 not found

I just installed Solaris 10 on my virtual machine. firstly I want to complie a c program using gcc but "the gcc is not found" so I looked for a way and try to install the gcc and I tried the following command pkg install gcc-45 but however, the "pkg is not found as well" I also tried... (2 Replies)
Discussion started by: roberts123
2 Replies
create directory(1m)													      create directory(1m)

NAME
create directory - Creates a directory SYNOPSIS
cdscp create directory directory-name [clearinghouse clearinghouse-name] ARGUMENTS
The full name of the directory The name of the clearinghouse in which you create the directory. DESCRIPTION
The create directory command creates a directory with the name that you specify. If you do not specify a clearinghouse, CDS creates the master replica of the directory in the same clearinghouse as the new directory's parent directory. Privilege Required You must have the following permissions in order to create a directory: read and insert permission to the parent directory; write permis- sion to the clearinghouse in which the master replica of the new directory is to be stored. In addition, the server principal must have read and insert permission to the parent directory. NOTES
To ensure that all replicas are consistent, perform an immediate skulk of the parent directory after issuing this command. This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE. EXAMPLE
The following command creates a directory named /.:/sales. cdscp> create directory /.:/sales RELATED INFORMATION
Commands: delete directory(1m), list directory(1m), set directory(1m), set directory to skulk(1m), show directory(1m) create directory(1m)
All times are GMT -4. The time now is 07:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy