Search Results

Search: Posts Made By: pradeep.aradhya
Forum: Tips and Tutorials 09-25-2007
319,659
Posted By Perderabo
Changing The Inode of a File
We have discussed how write permission controls the ability to change the data in a file. But how about changing the permission bits, the owner, the group, and even the timestamps? No one can...
Forum: Tips and Tutorials 07-31-2005
755,660
Posted By Perderabo
mtime, ctime, and atime
Unix keeps 3 timestamps for each file: mtime, ctime, and atime. Most people seem to understand atime (access time), it is when the file was last read. There does seem to be some confusion between...
38,036
Posted By zazzybob
Just for information, if you're using GNU date,...
Just for information, if you're using GNU date, you can do some *very* cool stuff with the "-d" option like

$ # get yesterdays date and format the output
$ date -d "yesterday" +"%d %b %Y"
10 Jan...
100,863
Posted By lalla_br
hello from Brazil! My english is not good but i...
hello from Brazil! My english is not good but i will try...
Im a Ubuntu user and i got yesterday's date like this

(for yesterday)
date -d yesterday

(for 2 days ago)
date -d 2yesterday
...
28,511
Posted By Perderabo
Well, I'm bored this afternoon...so#!/usr/bin/ksh...
Well, I'm bored this afternoon...so#!/usr/bin/ksh

set -A months 0 31 28 31 30 31 30 31 31 30 31 30 31
typeset -Z2 month_y day_y

today=$(date +%m%d%Y)

month_t=${today%??????}...
168,534
Posted By Perderabo
Days Elapsed Between 2 Dates
We really don't (yet) have a posting that addresses the general problem of number of days between two dates. So I have just finished what should be the last date calculation script that I ever...
144,494
Posted By complex.invoke
Tetris Game -- The Art Of Shell Programming
GitHub - deepgrace/tetris: Tetris implementation in all kinds of Programming Languages (https://github.com/deepgrace/tetris)

Usage: bash Tetris_Game [ <runlevel> [ <previewlevel> [ <speedlevel> [...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 06:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy