Broken Angel

May 28th, 2012, posted in LoVE, LYRiCS
Share
broken angel lost wingsman dooset daram:
I love you
be cheshme man gerye nade:
Don’t bring tears to my eyes
na, nemitoonam:
No, i can’t
bedoone to halam bade:
Without you i’m depressed
to harja ke bashi kenaretam:
Wherever you may be, i will be by your side
ta akharesh divoonatam:
till the end, i’ll be crazy about you
to , to nemidooni , ke joonami , bargard pisham :
you , you don’t know , that you are my life , return by my side
la la leyli , la la leyli , la laaa :
it (life) has no purporse (without you)

Share

Your Love Changes Me

May 28th, 2012, posted in SCAR LiON GALLERY
Share

Your love changes me

Share

Workshops Should Be On Digital Journalism

May 27th, 2012, posted in Ink On PAPER, TEChNoLoGY
Share

Digital-JournalismIn a room full of professional people, where even the tea cup knew what it was meant to do, i sat utterly blank trying hard not to look stupid. It was the first day of my internship, and as luck would have it, my boss assigned me to go on a field trip with the assistant editor to report on the event.

So dutifully i arrived at the building ready to gain some experience. I was seated next to some journalists from different news mediums like newspapers, television channels, etc, and already feeling intimidated I tried blending in. The workshop began. The moderator Mr. Shoaib Khalil, Marketing Lead of Microsoft Pakistan began outlining the importance of digital tools in journalism that help make transmission of news a much less complex process.

During the discussion the topic of blogging came up. Whether it is a useful platform in the transmission of news or a mere hindrance. While being a blogger myself I definitely leaned towards the good side, but some very valid points were presented in front of me that made me think, if not completely change my mind.

Blogging though very convenient is seen as a more personal ranting place rather than a forum for discussing hard news. Even though many bloggers do use it for that purpose, the private opinions and views and even biases the individual has, which have no place in a hard news, find their way through words in a blog. Also in a blog you can get away with almost anything. Whether your matter is verified or not, whether what you say is accurate, a blog can incorporate it all

But the fact remains, blogging is in today’s world the best medium to connect with others who share similar tastes and opinions.  The conversation then continued on to the different social networks which have now influenced almost more than half of the world, and their role in the transmission of news. While talking about Facebook in general, Mr Khalil said “if it were a country, Facebook would be the 3rd largest in the world with five hundred million users.”

He was surprised to find Facebook disabled in most workplaces in Pakistan, saying that in other countries, Facebook is seen as a great medium to stay updated with the current happenings. His viewpoint was a little vague. The importance of Facebook is lost in Pakistan he said. We see it more as a place to ‘kill time’ while people in other countries use it as a social medium to broadcast news, a case in particular being the recent uprising in Egypt. I agree. Here in Pakistan, Facebook is just a site where people with similar interests, (and some not so much) add each other and stay connected. I myself use Facebook to ‘refresh’ my mind in between work.

After Khalil, a second presentation on Microsoft’s new cloud computing was given by Mr. Zafar ul Islam, the Enterprise Technology Strategist at Microsoft Pakistan. Ok here I will be bluntly honest. Though I am familiar with the concept of cloud computing, much of the presentation was lost on me. I understood some of the different terms he used  like SaaS, platform as a service, infrastructure, IT management, data centers, the rest was a little hazy. I tried very hard not to yawn. Once more I began to question my presence in the room.

After two long hours when the presentation concluded not a moment too soon, we were given a tour of the newly opened facility of Microsoft Pakistan in the Forum Building, followed by a hi tea. the sandwiches were really good but I could not enjoy them for long, as it was time for me to head back and file the report.

Digital-Journalism

Share

Basic LINUX Commands That a DBA Should Know

May 26th, 2012, posted in Oracle, Solaris
Share

Basic LINUX commands that a DBA should know

groupadd
This is the command used to create new group. At OS level group is used to give and take  pivillages.
Syntax : groupadd <group name>
Ex : [root@rac5 ~]# groupadd group1
View : [root@rac5 ~]# cat /etc/group  -This command used to view which user belongs to which group.
Output: group1:x:607:

useradd
This is the command used to create a new user in a group.
Syntax : useradd -g <group name> <user name>
Ex : [root@rac5 ~]# useradd -g group1 user1

passwd
This is the command used to give password for create use or to update the password.
Syntax : passwd <user name>
Ex: [root@rac5 ~]# passwd user1
Output :
[root@rac5 ~]# Changing password for user soufir.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

date
a. This is the command used to view the current system date.
Syntax : date
Output : Wed Oct 27 21:55:36 IST 2010
b. In order to update the date we can give :
Syntax : [root@rac5 ~]# date -s “2 OCT 2010 14:00:00″  OR
[root@rac5 ~]# date –set=”27 OCT 2010 21:56:00″
Output : Sat Oct  2 14:00:00 IST 2010

cal
This command shows the calender of current year or any.
Ex : [root@rac5 ~]#  Cal
Output : [root@rac5 ~]#    October 2010
Su Mo Tu We Th Fr Sa
1  2
3  4  5  6  7  8  9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

pwd
This command is to view the present working directory.
Ex : [root@rac5 ~]# pwd
Output : [root@rac5 ~]# /root.

cd
a.This is the command used to change a directory
Ex : [oracle@rac5 ~]$ ls
authorized_keys  file   file2  oraInventory  stand.ora
authorized-keys  file1  file3  soufir
[oracle@rac5 ~]$ cd soufir
[oracle@rac5 soufir]$
b.This is used to go back to parent directory
Ex : cd ..
mkdir
This command is used for make a new directory.
Ex : mkdir dir1
rmdir
This commad is used for remove a directory.
Ex : rmdir dir1
rm -rf
This command is used to forcefully remove a direcory.
Ex : rm -fr dir1

man
This command is used to show the online manual pages of related commands
Ex : man ls

ls
This command is used to list all contents of directories
Ex : ls

ls -lt
This command is used to list lot of information about contents of directories
Ex : ls -lt
The permissions are the first 10 characters of the line (-rwxrwx—) and can be broken down as follows.
–
rwx
r–
r–
1
root
root
765
Apr 23
file.txt
File type
Owner
Group
All
Links
Owner
Group
Size
Mod date
Filename

touch

This command is used create an empty file
Ex : touch file1

cat
This command is used to create and view files of directories
Ex : cat file1
cat file1 > newfile   // owerwrite newfile with file1
cat file1 >> newfile  // append newfile the contents with file1

cp
This command is used to copy a file from one to another
Ex : cp file1 filenew

mv
This command is used to rename the name of a file to other
Ex : mv file1 filenew

su
This command is used to switch one user to other. it doesnot change the current working directory. so you cant access the /usr/sbin  directories.
Ex : su soufir

su –
This command is used to switch one user with changing current working directory.
Ex : su – soufir

*********************************************************************************************************************
Note : Please not do make backups before using these queries and also confirm them yourself or by aother means as
 well.
*********************************************************************************************************************
Share

List Of Few Common Linux Commands

May 26th, 2012, posted in Solaris
Share

alias – Create an alias

awk – Find and Replace text, database sort/validate/index

break – Exit from a loop

builtin – Run a shell builtin

cal – Display a calendar

cse – Conditionally perform a command

cat – Display the contents of a file

cd – Change Directory

cfdisk – Partition table manipulator for Linux

chgrp – Change group ownership

chmod – Change access permissions

chown – Change file owner and group

chroot – Run a command with a different root directory

cksum – Print CRC checksum and byte counts clear Clear terminal screen

cmp – Compare two files

comm – Compare two sorted files line by line

command – Run a command – ignoring shell functions

continue – Resume the next iteration of a loop

cp – Copy one or more files to another location

cron – Daemon to execute scheduled commands

crontab – Schedule a command to run at a later time

csplit – Split a file into context-determined pieces

cut – Divide a file into several parts

date – Display or change the date & time

dc – Desk Calculator

dd – Data Dump – Convert and copy a file

declare – Declare variables and give them attributes

df – Display free disk space

diff – Display the differences between two files

diff3 – Show differences among three files

dir – Briefly list directory contents

dircolors – Colour setup for `ls’

dirname – Convert a full pathname to just a path

dirs – Display list of remembered directories

du – Estimate file space usage

echo – Display message on screen ed A line-oriented text editor (edlin)

egrep – Search file(s) for lines that match an extended expression eject Eject CD-ROM

enable – Enable and disable builtin shell commands

env – Display, set, or remove environment variables

eval – Evaluate several commands/arguments

exec – Execute a command exit Exit the shell

expand – Convert tabs to spaces

export – Set an environment variable

expr – Evaluate expressions

factor – Print prime factors

false – Do nothing, unsuccessfully

fdformat – Low-level format a floppy disk

fdisk – Partition table manipulator for Linux

fgrep – Search file(s) for lines that match a fixed string

find – Search for files that meet a desired criteria

fmt – Reformat paragraph text

fold – Wrap text to fit a specified width.

for – Expand words, and execute commands format Format disks or tapes free Display memory usage

fsck – Filesystem consistency check and repair.

function – Define Function Macros

gawk – Find and Replace text within file(s)

getopts – Parse positional parameters

grep – Search file(s) for lines that match a given pattern

groups – Print group names a user is in

gzip – Compress or decompress named file(s)

hash – Remember the full pathname of a name argument

head – Output the first part of file(s)

history – Command History

hostname – Print or set system name

id – Print user and group id’s

if – Conditionally perform a command

import – Capture an X server screen and save the image to file

info – Help info

install – Copy files and set attributes

join – Join lines on a common field

kill – Stop a process from running

less – Display output one screen at a time

let – Perform arithmetic on shell variables

ln – Make links between files

local – Create variables

locate – Find files

logname – Print current login name

logout – Exit a login shell

lpc – Line printer control program

lpr – Off line print lprint Print a file lprintd Abort a print job lprintq List the print queue

lprm – Remove jobs from the print queue

ls – List information about file(s)

m4 – Macro processor

man – Help manual

mkdir – Create new folder(s)

mkfifo – Make FIFOs (named pipes)

mknod – Make block or character special files

more – Display output one screen at a time

mount – Mount a file system

mtools – Manipulate MS-DOS files

mv – Move or rename files or directories

nice – Set the priority of a command or job

nl – Number lines and write files

nohup – Run a command immune to hangups

passwd – Modify a user password

paste – Merge lines of files pathchk Check file name portability

popd – Restore the previous value of the current directory

pr – Convert text files for printing printcap Printer capability database printenv Print environment variables

printf – Format and print data

ps – Process status

pushd – Save and then change the current directory

pwd – Print Working Directory

quota – Display disk usage and limits

quotacheck – Scan a file system for disk usage

quotactl – Set disk quotas

ram – ram disk device

rcp – Copy files between two machines.

read – read a line from standard input

readonly – Mark variables/functions as readonly remsync Synchronize remote files via email

return – Exit a shell function

rm – Remove files

rmdir – Remove folder(s)

rpm – Remote Package Manager

rsync – Remote file copy (Synchronize file trees) screen Terminal window manager

sdiff – Merge two files interactively

sed – Stream Editor

select – Accept keyboard input

seq – Print numeric sequences

set – Manipulate shell variables and functions

shift – Shift positional parameters

shopt – Shell Options

shutdown – Shutdown or restart linux

sleep – Delay for a specified time

sort – Sort text files

source – Run commands from a file `.’

split – Split a file into fixed-size pieces

su – Substitute user identity

sum – Print a checksum for a file

symlink – Make a new name for a file

sync – Synchronize data on disk with memory

tac – Concatenate and write files in reverse

tail – Output the last part of files

tar – Tape ARchiver

tee – Redirect output to multiple files

test – Evaluate a conditional expression

time – Measure Program Resource Use

times – User and system times

touch – Change file timestamps

top – List processes running on the system

traceroute – Trace Route to Host trap Run a command when a signal is set(bourne)

tr – Translate, squeeze, and/or delete characters

true – Do nothing, successfully

tsort – Topological sort

tty – Print filename of terminal on stdin

type – Describe a command

ulimit – Limit user resources

umask – Users file creation mask umount Unmount a device

unalias – Remove an alias

uname – Print system information

unexpand – Convert spaces to tabs

uniq – Uniquify files

units – Convert units from one scale to another

unset – Remove variable or function names

unshar – Unpack shell archive scripts

until – Execute commands (until error)

useradd – Create new user account

usermod – Modify user account

users – List users currently logged in

uuencode – Encode a binary file

uudecode – Decode a file created by uuencode v Verbosely list directory contents (`ls -l -b’) vdir Verbosely list directory contents (`ls -l -b’)

watch – Execute/display a program periodically

wc – Print byte, word, and line counts

whereis – Report all known instances of a command

which – Locate a program file in the user’s path.

while – Execute commands

who – Print all usernames currently logged in whoami Print the current user id and name (`id -un’)

xargs – Execute utility, passing constructed argument list(s)

yes – Print a string until interrupted

.period – Run commands from a file

### – Comment / Remark

Share