
unix - Why is 1/1/1970 the "epoch time"? - Stack Overflow
Jun 23, 2011 · The definition of unix time and the epoch date went through a couple of changes before stabilizing on what it is now. But it does not say why exactly 1/1/1970 was chosen in the end.
unix - History of users modifying a file in Linux - Stack Overflow
Sep 2, 2015 · I am wondering if its possible to list who all modified the file with course of time. I am aware that stat or ls -lrt will give the last user who modified the file. But I want to find out if it is
unix - How to read a file into a variable in shell? - Stack Overflow
I want to read a file and save it in variable, but I need to keep the variable and not just print out the file. How can I do this? I have written this script but it isn't quite what I needed: #!/b...
Best way to convert text files between character sets?
What is the fastest, easiest tool or method to convert text files between character sets? Specifically, I need to convert from UTF-8 to ISO-8859-15 and vice versa. Everything goes: one-liners in your
git - How to change line-ending settings - Stack Overflow
Is there a file or menu that will let me change the settings on how to deal with line endings? I read there are 3 options: Checkout Windows-style, commit Unix-style Git will convert LF to CRLF when
Unix: How can I prepend output to a file? - Stack Overflow
Aug 21, 2015 · The only simple and safe way to modify an input file using bash tools, is to use a temp file, eg. sed -i uses a temp file behind the scenes (but to be robust sed needs more). Some of the …
unix - How do I list all cron jobs for all users? - Stack Overflow
Is there a command or an existing script that will let me view all of a *NIX system's scheduled cron jobs at once? I'd like it to include all of the user crontabs, as well as /etc/crontab, and what...
unix - A cron job that will never execute - Stack Overflow
Is there any way to create a cron expression for not running the job at all? I though of using this expression : 0 0 0 1 1 ? 3099 ...which will practically do the job as it will run on year 3099,...
unix - Connect to Oracle DB using sqlplus - Stack Overflow
I am using below command in Unix environment to connect to Oracle database: sqlplus test/test@' (DESCRIPTION= (ADDRESS_LIST= (ADDRESS= (PROTOCOL=TCP) (HOST=hostname ...
Unix: How to delete files listed in a file - Stack Overflow
Feb 28, 2011 · Unix: How to delete files listed in a file Asked 14 years, 9 months ago Modified 1 year, 4 months ago Viewed 195k times