Posted: . At: 11:52 AM. This was 7 years ago. Post ID: 11181
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


Some very interesting and useful Linux commands.


Stripping comments out of a configuration file can be useful when submitting it to a forum for others to study. This is how to do this.

ubuntu /etc/ssh $ grep -vE '^#' sshd_config

This will print the file to the terminal, allowing the user to copy the text with all comments stripped out. Very useful trick.

How to add a default route to a DNS server manually in Linux. (Source)

jason@darknet:~$ sudo ip route add 0/0 via 172.29.59.1 dev wlan0

How to use the Linux cat command to read the contents of a folder. This is a cool trick.

http://securitronlinux.com/bejiitaswrath/how-to-use-the-linux-cat-command-to-read-the-contents-of-a-folder-this-is-a-cool-trick/.

Removing and creating files on UNIX/Linux and using the shred command.

http://securitronlinux.com/debian-testing/removing-and-creating-files-on-unixlinux-and-using-the-shred-command/.

Some very useful Linux commands.

http://securitronlinux.com/useful-linux-commands/.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.