echo "Enter Password"
# disable standard output
stty -echo
#prompt for password.
read password
#enable standard output
stty echo
echo $password
Showing posts with label unix linux. Show all posts
Showing posts with label unix linux. Show all posts
Tuesday, April 10, 2007
Wednesday, April 04, 2007
Redirecting standard output to file and console at the same time
Command Name: tee
Sample Usage: ls 2>&1 | tee ~/ls_output
Note: 2>&1 redirects standard error to standard output
Sample Usage: ls 2>&1 | tee ~/ls_output
Note: 2>&1 redirects standard error to standard output
Wednesday, December 20, 2006
Process List
- Executing "ps -ef" lists all processes even indicating the command line that was used to start the process.
- Executing "jps" will display PIDs of all running JREs.
Subscribe to:
Posts (Atom)