Posts tagged bash
How to avoid killing of process after logging out of SSH or telnet session
Feb 7th
Generally when I close the terminal all background processes which are attched to the terminal are closed when I logout or close it. How can I keep the processes running even after closing the terminal or logging out of telnet or SSH connection?
How do you delete all the text after the first space in a line using bash script
Jan 24th
I have a file or input like the following:
joe wants to be a doctor lisa like to learn swimming michael learns to rock
I would like to remove all the text after the first space in each line and want to get output like following:
joe lisa michael
Please tell me a simple way to do this in a bash script or at command line. Thanks!
How to add a pause in a bash script
Jan 23rd
I want to write a simple script to display the number 1, wait one second, display the number 2, etc. How do I add a pause?
Also how can I wait for user input (like ENTER key) in a bash script?
How to find files that are modified on specific date
Jan 22nd
I need to write a bash script that scans current directory and all its sub directories for files that are modified on a specific date.
It would be great if you can mention how to do the following as well.
1) Files modified on or after a specified date
2) Files modified between two dates
3) all the above cases with specified time


Recent Answers