Pau Lo
asked on
shell syntax and file copy syntax AIX IBM
what does the # character represent in an AIX IBM shell command?
Also can you give an example of how to copy the contents of an AIX IBM file into a text file via a shell command?
Also can you give an example of how to copy the contents of an AIX IBM file into a text file via a shell command?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
On the shell, if you are hitting the enter/return key and you get #, I think you are talking about the prompt sign
You can change it if you say
PS1="> "
To change it to > if you like.
Yes, if you are putting # yourself, that would comment it and it would therefore not run.
YES
You can change it if you say
PS1="> "
To change it to > if you like.
Yes, if you are putting # yourself, that would comment it and it would therefore not run.
grep SYSTEM /etc/security/user >123.txt work/run
YES
ASKER
# grep SYSTEM /etc/security/user > 123.txt within a shell, would it work, or would the # comment out the command?
or put another way would
grep SYSTEM /etc/security/user >123.txt
work / run ok?