LinuxAnswers - the LQ Linux tutorial section.
Go Back > Blogs
User Name



Slackware-13.1-Hacks-NX Bit

Posted 01-03-2011 at 12:35 AM by arniekat

The NX bit, which stands for No eXecute, is used in processors to separate areas of memory for use by either storage of processor instructions OR for storage of data. The NX Bit is used for security reasons to prevent certain types of malicious software from taking over computers by inserting their code into another program's data storage area and running their own code from within this section (also called a Buffer Overflow Attack).

Intel has the feature called the XD bit, for eXecute...
LQ Newbie
Posted in Uncategorized
Views 1399 Comments 0 arniekat is offline

Slackware-13.1-Hacks-Wiping free space

Posted 01-02-2011 at 11:45 PM by arniekat

To eliminate the traces of old removed files, etc, you would want to wipe the empty space. The simple method is to use a standard Linux "dd" utility. In this example, suppose you want to wipe the free space on your hard drive for the /home partition. This will also work for any other partition, such as /tmp. You will only use ONE of the following commands depending on the type of data you want to use to fill up the empty space. The command is/are:

$ su
$ <Root_Password>...
LQ Newbie
Posted in Uncategorized
Views 648 Comments 0 arniekat is offline

Something to do if you're REALLY bored...

Posted 01-02-2011 at 11:30 PM by MrCode
Updated 01-02-2011 at 11:40 PM by MrCode
Tags boredom

I've come up with a little something you can do with dd and SoX if you're really bored and can't think of anything else to do:

$ dd if=<whatever file here> of=<whatever output file here> bs=<1024/512>k skip=<# of MiB to skip through the file (or in increments of 0.5 MiB if you supplied 512k as the block size)> count=<MiB of content (or in increments of 0.5 MiB)>
$ play -q -t raw -s -b 16 -v 0.03125 -c 2 -r 48k <output file from dd>
Attached Files
File Type: txt isoechoexample1.oga.txt (159.2 KB, 7 views)
Views 16272 Comments 8 MrCode is offline

Slackware-13.1-Hacks-Emptying trash files

Posted 01-01-2011 at 11:10 PM by arniekat

These instructions are for deleting files that will not go away when you empty the trash using the icon on your desktop.

The trash files are kept in /home/<user_name>/.local/share/Trash/files

$ su
$ <Root_Password>

# cd /home/<user_name>/.local/share/Trash/files
# rm -rf /home/<user_name>/.local/share/Trash/files/files_that_wont_go_away
LQ Newbie
Posted in Uncategorized
Views 1284 Comments 1 arniekat is offline

Slackware-13.1-Hacks-Changing System Time

Posted 01-01-2011 at 10:39 PM by arniekat

This will adjust your system time and correct it using a Stratum 2 Time Server. The quickest way to change your system time is to do the following:

$ su

$ <Root_Password>

# ntpdate

You should see confirmation that it worked. The second way of doing this (in case the first way did not work) is to get the IPV4 address or hostname of a Local (meaning in your time zone) Stratum 2 Time Server from the following website:...
LQ Newbie
Posted in Uncategorized
Views 1015 Comments 1 arniekat is offline


All times are GMT -5. The time now is 04:08 PM.

Main Menu

Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration