Execute a command on user logon
In Linux desktop system, I want to execute a command when the user logs in.
In Linux desktop system, I want to execute a command when the user logs in.
Today I happened to press ' after ls
So the command is ls'
The read utility shall read a single line from standard input.
I know that VARIABLE=value creates an environment variable, and export VARIABLE=value makes it available to processes created by the current shell. env shows the current environment variables, but where do they live? What comprises an environment variable (or an environment, for that matter)?
I started learning Bash a couple of days ago.
Remove ^M character from log files.
I would like to list all files matching a certain pattern while ignoring the case.
One of my favorite Unix tricks is ^x^y, which will take the last command and replace the first instance of “x” with “y”. However, I’m wondering if a similar trick works to replace all instances of “x” with “y” in the last command?
What does $# mean in shell?
I am trying to automate these steps so that I don’t need to do this on every machines manually. I need to install latest app server software (abc.tar.gz) on all the unix boxes.