Sponsored Content
Full Discussion: Unix Builtin commands
Top Forums UNIX for Dummies Questions & Answers Unix Builtin commands Post 302575506 by illgetit on Tuesday 22nd of November 2011 01:37:40 AM
Old 11-22-2011
Quote:
Originally Posted by jlliagre
Don't use "which". This command is only searching the PATH for the queried command. Only a builtin command can tell if another command is a builtin or not, this builtin is "type" with bash.


Didn't even think of that. Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Maingrame to UNIX sending UNIX commands

I want to know if there is a way to send unix commands thru FTP from a mainframe to kick off Autosys Jobs. I just need to send a command from the mainframe to UNIX and have UNIX execute that command. (2 Replies)
Discussion started by: skammer
2 Replies

2. UNIX for Dummies Questions & Answers

commands for unix

Hi All, I am new to UNIX programming. Can you send me the links where we can find all commands and their description in UNIX. Help in this regard is highly appreciated. Regards, Azaz Ali. (1 Reply)
Discussion started by: azazalis
1 Replies

3. UNIX for Dummies Questions & Answers

Running UNIX commands remotely in Windows box from Unix box – avoid entering password

I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked. Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies

4. UNIX for Dummies Questions & Answers

ALL unix commands

Hello Folks Where can I find all the unix commands with explanations , on the internet. I am searching but most of the sites are listing a few of the important ones. PLease guide through thanks (4 Replies)
Discussion started by: supercops
4 Replies

5. Shell Programming and Scripting

The builtin split function in AWK is too slow

I have a text file that contains 4 million lines, each line contains 2 fields(colon as field separator). as shown: 123:444,555,666,777,888,345 233:5444,555,666,777,888,345 623:454,585,664,773,888,345 ...... Here I have to split the second field(can be up to 40,000 fields) by comma into an... (14 Replies)
Discussion started by: kevintse
14 Replies

6. Shell Programming and Scripting

Read Embedded Newline characters with read (builtin) in KSH93

Hi Guys, Happy New Year to you all! I have a requirement to read an embedded new-line using KSH's read builtin. Here is what I am trying to do: run_sql "select guestid, address, email from guest" | while read id addr email do ## Biz logic goes here done I can take care of any... (6 Replies)
Discussion started by: a_programmer
6 Replies

7. UNIX for Dummies Questions & Answers

Help with UNIX commands

I need some help with a unix command. I want to download files from a directory, this is the url of one of the files http://www.brugmansia.us/forums/uploads/packages-0296224001353469825.jpg And there are several hundred that start with http://www.brugmansia.us/forums/uploads/packages- ... (1 Reply)
Discussion started by: Mary Voss
1 Replies

8. UNIX for Dummies Questions & Answers

Zsh builtin "kill" stopped working

Hi all, I've been using zsh for a while, and was enjoying the builtin "kill" with tab completion. But since I installed "oh-my-zsh" the kill completion has stopped working. I have not edited my new ~/.zshrc file. My ~/.oh-my-zsh/lib/completions.zsh contains the following: zstyle... (0 Replies)
Discussion started by: nickednamed
0 Replies

9. UNIX for Dummies Questions & Answers

Typeset builtin error

I'm attempting to emulate another users .zshrc file. However, I'm sort of confused on what exactly the -g argument does for the typeset builtin. Here's what he has in his .zshrc file: typeset -ga sources sources+="$ZSH_CONFIG/environment.zsh" sources+="$ZSH_CONFIG/options.zsh"... (4 Replies)
Discussion started by: brandontdr
4 Replies

10. Shell Programming and Scripting

Builtin alternatives for several commands?

I'm adapting a BASH script to run with an absolute minimal amounts of Cygwin64 files so colleagues using Windows can use it without installing Cygwin. I am down to the following in /bin only (replacing cut with parameter substitution eliminated all needed things in /etc) bash.exe cygattr-1.dll... (5 Replies)
Discussion started by: Michael Stora
5 Replies
PRINTENV(1)						    BSD General Commands Manual 					       PRINTENV(1)

NAME
printenv -- print out the environment SYNOPSIS
printenv [name] DESCRIPTION
The printenv utility prints out the names and values of the variables in the environment, with one name/value pair per line. If name is specified, only its value is printed. Some shells may provide a builtin printenv command which is similar or identical to this utility. Consult the builtin(1) manual page. EXIT STATUS
The printenv utility exits 0 on success, and >0 if an error occurs. SEE ALSO
csh(1), env(1), sh(1), environ(7) STANDARDS
The printenv utility is provided for compatibility with earlier BSD and FreeBSD releases and is not specified by any standards. The func- tionality of printenv can be duplicated with the echo(1) and env(1) utilities. HISTORY
The printenv command appeared in 3.0BSD. BSD
May 12, 2003 BSD
All times are GMT -4. The time now is 06:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy