Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help with understanding the symbols '~#' and '~$' Post 302579154 by balajesuri on Monday 5th of December 2011 01:30:20 AM
Old 12-05-2011
Looks like you're talking about prompt, the symbol just before your cursor when you log into your terminal. "~" refers to the home directory. And # or $ is the prompt symbol. Use "set" command to see how your prompt is defined.
This User Gave Thanks to balajesuri For This Post:
 

10 More Discussions You Might Find Interesting

1. Programming

undefined symbols

i am trying to compile transcode on AIX v 4.3.3 with gcc 3.0.1 i am getting this error: gcc -shared -o .libs/libexport_null.so.0 export_null.o -lpthread -ldl -lc -Wl,-bnoentry -Wl,-bexport:.libs/libexport_null.exp ld: 0711-317 ERROR: Undefined symbol: capability_flag ld: 0711-317... (0 Replies)
Discussion started by: thalex
0 Replies

2. Shell Programming and Scripting

new lines symbols in sed?

I want to edit a huge script file using sed. How can I add the new lines symbols in the red colored places? sed -e "s/test -z "$x"/if test -z "$x" then echo -1; \n else \n/g" (1 Reply)
Discussion started by: gogogo
1 Replies

3. HP-UX

Finding SYmbols in LIB

Whats the unix command to identify the symbols in the shared library. I want to find the symbol "nnftboot" is in the library libnnz10.so. Can any one help on this. (1 Reply)
Discussion started by: senthil_is
1 Replies

4. Shell Programming and Scripting

Perl IO vs GLOB symbols

Hi, Can someone please clarify how we are able to use both IO and GLOB symbols of a package variable interchangeably? Please consider the following code: open(FH,"myfile") || die "Unable to open file myfile:$@"; my $glob_var = *main::FH{GLOB}; my $io_var = *main::FH{IO}; print $glob_var... (0 Replies)
Discussion started by: srinivasan_85
0 Replies

5. Shell Programming and Scripting

Filtering symbols from contents

Hi, Any one of you guys can you help me out to filter all "," (single comma) from the below attached contents in a file. sportiva:root:/home/users/thayata/test # cat sample2.csv Heading,Sub Heading,,Detail Server details,Deployment environment:,,Standard Datacentre DC1 ,Chassis... (2 Replies)
Discussion started by: ajilesh
2 Replies

6. AIX

Unresolved symbols

Hello experts , i have some strange problem, i wanted to create a shared object in AIX 5.3 for which i have compiled all my .cxx to .o which worked fine and then i created the .so from them , but when i do nm -Bo sample.so , i have many unresolved symbol, including printf... (0 Replies)
Discussion started by: vin_pll
0 Replies

7. Shell Programming and Scripting

how to remove weird symbols

Hi my file is suffering from some weird text symbols like a question mark inside of a square. I don't know how to remove these. I tried to remove UTF accents with command sed -e 's/^*Width:*//' -e 's/*$//'` but no use . Could u guyz plz help me. (4 Replies)
Discussion started by: repinementer
4 Replies

8. Shell Programming and Scripting

redirecting symbols

Can anyone please tell me what the following do 1. < 2. << Thanks Calypso (1 Reply)
Discussion started by: Calypso
1 Replies

9. Programming

cc -- Unsatisfied symbols -- on HP-UX 10.2

Greetings, I am slowly learning a few things but am far from being an expert. I am at the point now that I would like to be able write some ANSI C code on HP-UX 10.2. Just a hobbie... I am just using cc, which came with the HP-UX 10.2 ... I don't have the manuals for the development... (7 Replies)
Discussion started by: Dirk_
7 Replies

10. AIX

Errno.h symbols

Hi, I need to look at a recent copy of /usr/include/errno.h from AIX 7.2 to check some symbols. In particular, I'm curious if it defines EOWNERDEAD and ENOTRECOVERABLE. Can someone who has access to 7.2 please check for me? Thanks! (1 Reply)
Discussion started by: topcat
1 Replies
syms(5) 							File Formats Manual							   syms(5)

Name
       syms - MIPS symbol table

Syntax
       #include < sym.h>
       #include < symconst.h>

Description
       Unlike the COFF symbol table, the MIPS symbol table consists of many tables unbundling information.  The symbol table should be viewed as a
       network-style database designed for space and access efficiency.

       The following structures or tables appear in the MIPS symbol table:

       TABLE			CONTENTS

       Symbolic header		Sizes and locations of all other tables

       File descriptors 	Per file locations for other tables

       Procedure descriptors
				Frame information and location of procedure info

       Local symbols		Local type, local variable, and scoping info

       Local strings		String space for local symbols

       Line numbers		Compacted by encoding, contains a line per instruction

       Relative file descriptors
				Indirection for interfile symbol access

       Optimization symbols
				To be defined

       Auxiliary symbols	Variable data type information for each local symbol

       External symbols 	Loader symbols (global text and data)

       External strings 	String space for external symbols

       Dense numbers		Index pairs (file, symbol) for compiler use

       External and local symbols contain the standard concept of a symbol as follows:
       struct
       {
	    long iss; /* index into string space */
	    long value;    /* address, size, etc., depends on sc and st */
	    unsigned  st: 6;	/* symbol type (e.g. local, param, etc.) */
	    unsigned  sc: 5;	/* storage class (e.g. text, bss, etc.) */
	    unsigned  reserved: 1;
	    unsigned  index;	/* index to symbol or auxiliary tables */
       };

See Also
       ldfcn(5)

								       RISC								   syms(5)
All times are GMT -4. The time now is 12:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy