how to make bash display username, hostname and current working directory
Tuesday, December 23rd, 2008
Just add the following line:
in your .profile or .bashrc.
PS1="\u@\h:\w$ "in your .profile or .bashrc.
PS1="\u@\h:\w$ "# find . -type f ! -iname "*.mp3"set WshShell = WScript.CreateObject("WScript.Shell" )
set oShellLink = WshShell.CreateShortcut(Wscript.Arguments.Named("shortcut") & ".lnk")
oShellLink.TargetPath = Wscript.Arguments.Named("target")
oShellLink.WindowStyle = 1
oShellLink.Savemkshortcut /target:TargetName /shortcut:ShortcutNameC:\>mkshortcut /target:"c:/documents and settings/giannis/desktop" /shortcut:"My Desktop"
C:\>dir *.lnk
Volume in drive C has no label.
Volume Serial Number is 70FC-EBB4
Directory of C:\
12/03/2008 11:12 AM 453 My Desktop.lnk
1 File(s) 453 bytes
0 Dir(s) 46,659,989,504 bytes free
C:\>find /path/to/top/level/directory -type f -exec grep -F -H [needle] {} \;
Here you can watch a small video demonstrating aftetris recorded directly from the emulator. My apologies for the watermark:







