05-17-2016
sorry I didn't mentioned ... currently I am not working on any OS, this is an interview question.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can any one tell me how to know the free space in perticular folder in unix.
size in bytes/MB.
thanks in adv.
spandu (7 Replies)
Discussion started by: spandu
7 Replies
2. Shell Programming and Scripting
hi,
how to list the files which has been created or accessed before 6 months
thanks (1 Reply)
Discussion started by: useless79
1 Replies
3. Shell Programming and Scripting
Hi all,
I am new to UNIX, so sorry if my question seem stupid to u.
well i want to replace the first character of first 30 lines of a file, only if the first character is h.
and
in anothe script i want to replace a particular string/character say hello/h of a file.Condition: It should... (1 Reply)
Discussion started by: abovais
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
im having problem that frustate me today.
there are list of file in a folder that i want to grab
the folder /subject/items/
in this folder there are this file
CREATE_SUBxxxx.xml
UPDATE_SUBxxxx.xml
DELETE_SUBxxxx.xml
loginresponsexxxxx.xml
core
how can i grab all the file... (1 Reply)
Discussion started by: andrisetia
1 Replies
5. Shell Programming and Scripting
Hi Friends,
How to list todays file from a directory listing of files for amny dates.
I tried with the following options but not working :
find . -name "esi01v*" -mtime 1 -ls
find . -name "esi01v*" -ctime 1 -ls
find . -name "esi01v*" -mtime 1
Please advise (19 Replies)
Discussion started by: unx100
19 Replies
6. Shell Programming and Scripting
Hi All,
I am mediator Shell programmer, Just have an hands on experice :-), i am writing a shell scirpt to list logs of todays date from /var/log/messages.
I need to ur kind help where if i run this script from cron. the script should filter todays logs only from /var/log/messages.
Below... (4 Replies)
Discussion started by: anand.kulkarni
4 Replies
7. Shell Programming and Scripting
Hi ! there
can you please tell me how to get full files having today date like
if i have files like this(below) , i want to grep only sra + today's date + what ever thing is there after date .
grep `sra*$date*.csv` >>> i tried this one but its not working .
sra28-08-2011xyz.csv... (1 Reply)
Discussion started by: sravan008
1 Replies
8. Shell Programming and Scripting
I am trying to display todays and yesterdays .rej files from a directory.
ls -lrt *.rej | grep 'Aug 12' ; ls -lrt *.rej | grep 'Aug 13'
Which is working as above.
But i want take 'Aug 12' and 'Aug 13' from a variable and the command should work everyday.
I am able to get todays files by... (9 Replies)
Discussion started by: GopalKrishnaP
9 Replies
9. Shell Programming and Scripting
Hi All,
I want to copy all the contents of a list of files in a folder to a particular file. i am using following command:
cat dir/* >> newFile.txtIt's not working.
Could you please help?
Thanks,
Pranav (3 Replies)
Discussion started by: Pranav Bhasker
3 Replies
10. Shell Programming and Scripting
Hi I have 2 different password entries in 2 different files for the same user.
file 1 -
siva:correct:1000:23:siva:/home/siva:/bin/bash
file 2 -
siva:incorrect:1000:23:siva:/home/siva:/bin/bash
file 1 is having correct passwd entry where as file 2 is wrong.
Now, i want to compare... (3 Replies)
Discussion started by: kumar85shiv
3 Replies
LEARN ABOUT DEBIAN
primrose
primrose(6) Games primrose(6)
NAME
primrose - a compelling tile-placement puzzle game
SYNOPSIS
primrose
DESCRIPTION
Primrose is a video game written by Jason Rohrer.
Unlike his previous work, primrose is an not art game. Despite the departure from art games to a puzzle game, primrose is still beautiful
and captivating in its own way.
The player places pairs of coloured tiles on a 7x7 grid. Tiles are cleared by surrounding one colour group with another colour group, scor-
ing points. The cleared tiles change the colour of the surrounding colour group, allowing for chain reactions that give more points. More
colours are added as more tiles have been placed on the grid and eventually the game will end when the grid fills up.
The rush of a long chain reaction and the huge numbers of points that can be obtained from them is the counterpoint to playing it safe
until the bitter grey (but slightly more colourful) end.
There are many strategies to be explored within that continuum. Your smartphone with wireless internet access is a great place to review
and explore the continuum as Primrose includes a networked high scores list with instant replay.
USAGE
Primrose has no command-line options.
Primrose is primarily controlled with the mouse.
The escape and q/Q keys quit the game.
Pressing P in the games brings up the menu. This menu has instructions on how to play the game, high scores, a dialog to set the name used
for high scores as well as toggles for colorblind mode and sound.
Primrose connects to the web for synchronizing high scores.
FILES
~/.primrose/ is used to store settings and as a cache.
SEE ALSO
The website and description: http://primrose.sourceforge.net/
An interview with the creator: http://pc.ign.com/articles/955/955949p1.html
March 2008 primrose(6)