Sponsored Content
Full Discussion: How to recognize the Shell?
Top Forums Shell Programming and Scripting How to recognize the Shell? Post 302875981 by adisky123 on Thursday 21st of November 2013 09:57:51 AM
Old 11-21-2013
I am not able to find the path where .cshrc file is located.

ADI
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Doesn't recognize the mv command

I'm nearly finished my program i've got everything in place and than when i run it it comes back with the reply mv: command not found. This is the code that seems to be causing the problem. elif then echo "There are more than one '$1' files in the system." echo "Please... (2 Replies)
Discussion started by: zoolz
2 Replies

2. Shell Programming and Scripting

shell script cant recognize if else compare

hi I face the problem the if else statement dint return correct result for me my script as below: #!/bin/ksh sqlplus -s /nolog <<EOF connect databaseuser/password column num new_value num format 9999 set head off select count(*) num from table1; exit num EOF if ; then echo "$?"... (6 Replies)
Discussion started by: jaseloh
6 Replies

3. Programming

How to recognize that the server is currently unavailable?

hi all How to recognize that the server is currently unavailable? by programatically.give some example. am using fedora5 AMD cheers (2 Replies)
Discussion started by: munna_dude
2 Replies

4. UNIX for Dummies Questions & Answers

Re: How do I recognize a zombie process?

Hey Guys, I am not really new to Unix/Linux however I was never taught how to spot a zombie process. I used top to check out the processes I was running and how the resources were looking and in the upper right it said 1 zombie, I have attached a jpeg of it. Thank you in advance for your... (4 Replies)
Discussion started by: pikecoguy
4 Replies

5. Solaris

Solaris recognize HW Raid ??

Hardware: HP P2000 HP DL380 G7 with Solaris Software: Solaris 10 05/08 I had made a Hardware raid on P2000 and install solaris on G7, The raid card controller is working fine. How can I make the raid works on OS?? "raidclt" is getting nothing :wall::wall: Thanks (11 Replies)
Discussion started by: stanley1024
11 Replies

6. UNIX for Advanced & Expert Users

recognize servers environment

Basically do you have any suggestions on how to advise syadmins to be more careful in accessing servers so that they would know at an instance that the server they logging in is production or not(perhaps naming convention etc, color terminal? We have recent incident of wrong restoration to a... (2 Replies)
Discussion started by: lhareigh890
2 Replies

7. Debian

CUPS Cannot recognize lp0

I am trying to print from Debian and receive the following message: "Unable to open device file"/dev/lp0": Permission Denied" The permissions for lp0 are 666. Advice and comments, please. :wall: Thanks (0 Replies)
Discussion started by: woofy613
0 Replies

8. Shell Programming and Scripting

Do you recognize this data structure?

I am working with an undocumented feature of a software product (BladeLogic). It is returning the below string in response to a query. It is enclosed with square brackets, "records" are separated with commas and "fields" separated with semicolons. My thought was that this might be some basic... (1 Reply)
Discussion started by: dshcs
1 Replies

9. Shell Programming and Scripting

How does a shell script recognize the end of a line?

Hi friends , I want to know how does a shell script recognize the end of a line? . i have hunddres of proccedure to test where i want to ingnore the comments which starts with "--" .. it can start from the middle of the lines also. for example:: select * from table1; -- getting... (5 Replies)
Discussion started by: neelmani
5 Replies

10. UNIX for Dummies Questions & Answers

Pipe not recognize with gawk

Hi ! I am a newbie with Unix and I try to remove the "|" FS in this file: 1|2|3|4|5|6 to get: 123456 by using: gawk 'BEGIN{FS=""} {gsub("|","",$0); print $0}' file but nothing changes. Or even when I try to change "|" by "%"with this command: gawk 'BEGIN{FS=""} {gsub("|","%",$0)... (3 Replies)
Discussion started by: beca123456
3 Replies
af_misc(3)						    Attribute Filesystem (AtFS) 						af_misc(3)

NAME
af_afname, af_afpath, af_aftype, af_afuser, af_setarchpath, af_version - miscellaneous AtFS functions SYNOPSIS
#include <atfs.h> char *af_afname (char *path) char *af_afpath (char *path) char *af_aftype (char *path) Af_user*af_afuser (uit_t uid) char *af_setarchpath (char *path) char *af_version (void) DESCRIPTION
The functions af_afname, af_afpath and af_aftype extract name, syspath or type from a given (operating system dependent) file identifica- tion. In an UNIX environment, a given pathname of the form /usr/lib/libatfs.a leads to afname libatfs, afpath /usr/lib and aftype a. If no path (eg. otto.c), or no type (eg. /usr/hugo/Makefile) is given, the corresponding routine returns an empty string. A period as first character in a filename is always considered to be part of the name (e.g. .cshrc has the name .cshrc and an empty type string). "." and ".." are recognized as names. Archive file extensions and AtFS specific path extensions are stripped from the resulting name resp. pathname. Note: af_afname, af_afpath and af_aftype use static memory for the returned results. Subsequent calls of the same function overwrite for- mer results. af_afuser returns an AtFS user identification which consists of the login name of the user identified by uid, the current host and the cur- rent domain. Uid_t is defined according to the return type of getuid (2) on your system. The Af_user type has the following structure typedef struct { charaf_username[MAXUSERNAMELEN]; charaf_userhost[MAXHOSTNAMELEN]; charaf_userdomain[MAXDOMAIN+1]; } Af_user; af_setarchpath defines the location of the AtFS archive files. A nil-pointer given as path-argument clears the former setting of the global archive path. af_setarchpath returns the old global archive path. Initially, no global archive path is set. In this case, all archive files are stored in a subdirectory called AtFS, relative to the directory where corresponding busy version resides. af_version returns a string that names the version and the creator of the currently used AtFS library. SEE ALSO
getuid(2) AtFS-1.71 Fri Jun 25 14:33:12 1993 af_misc(3)
All times are GMT -4. The time now is 10:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy