background preloader

How to survive in vi and emacs

How to survive in vi and emacs
some basic vi commands. :set nu show line numbers. :set ic ignore case differences when searching. emacs survival guide. this guide is intended for gnu emacs where commands associated with buffer, file and help operations are obtained by clicking the relevant menu bar item with the left mouse button, and selecting the operation from the drop-down menu. also "copy", "cut" and "paste" operations are performed by dragging over the text with the left mouse button down, using the edit drop-down menu to select "copy" or "cut", then identifying the insertion point with the left mouse button, and finally selecting "paste" from the edit menu to retrieve the text. emacs has a vast range of commands, this is just a very brief personal selection of the ones i use most often.

gnome terminal - How do I set fish as the default shell? - Ask Ubuntu -... - StumbleUpon study | nix | commands | lsof Blog | Writing | Study | Projects | Arguments | About | Contact | Syndication 404 Not Found (Facepalm) Explanation It seems you've asked for something that's not here. There are two common reasons for this: You mistyped something (I'm hoping it's that simple). You asked for the right thing, but the content isn't where it should be. Search : Click here to go to the page Click here to go my page Click here to go to my page Click here to go to my page Click here to go to my page Click here to go to my page Click here to go to my page Click here to go to my page If you still can't find what you need, or the site seems otherwise borked, do me a favor and let me know via email . Thanks, Daniel Miessler Top A tcpdump Tutorial Tech Hiring Lessons Learned A lsof Introduction A git Primer A Security-focused HTTP Primer Vulnerability Assessment vs. WebAppSec Testing Resources Infosec Interview Questions Popular What You Learned in School About Airplane Flight Was Probably Wrong The find Command The lsof Command Geek

16 commands to check hardware information on Linux Hardware information Like for every thing, there are plenty of commands to check information about the hardware of your linux system. Some commands report only specific hardware components like cpu or memory while the rest cover multiple hardware units. This post takes a quick look at some of the most commonly used commands to check information and configuration details about various hardware peripherals and devices. The list includes lscpu, hwinfo, lshw, dmidecode, lspci etc. 1. lscpu The lscpu command reports information about the cpu and processing units. $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 23 Stepping: 10 CPU MHz: 1998.000 BogoMIPS: 5302.48 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 2048K NUMA node0 CPU(s): 0-3 2. lshw - List Hardware 3. hwinfo - Hardware Information 7.

Re: LFI Bug and other Full Disclosure mailing list archives Re: LFI Bug and other From: "Cal Leeming [Simplicity Media Ltd]" <cal.leeming () simplicitymedialtd co uk> Date: Sun, 20 Feb 2011 10:48:57 +0000 Uh, did you even disclose this to the provider first? Is full disclosure a security mailing list, where I can find hacking stuff or a magazine about chat show? Send Full-Disclosure mailing list submissions to full-disclosure () lists grok org uk To subscribe or unsubscribe via the World Wide Web, visit or, via email, send a message with subject or body 'help' to full-disclosure-request () lists grok org uk You can reach the person managing the list at full-disclosure-owner () lists grok org uk When replying, please edit your Subject line so it is more specific than "Re: Contents of Full-Disclosure digest..." your post appropriately. Today's Topics: 1. would apply to this also? on two different servers, both XORed give you the data). to it's which hosted be

GCC, the GNU Compiler Collection General Troubleshooting in Linux Troubleshooting in Linux is a breeze if you know which tools to use and how to use them. In this article we learn to do some general Linux troubleshooting on the most common elements of the computer: hardware, programs installed, network, and log files. Hardware Getting ram information cat /proc/meminfo or if you want to get just the amount of ram you can do: cat /proc/meminfo | head -n 1 Another fun thing to do with ram is actually open it up and take a peek. sudo dd if=/dev/mem | cat | strings Getting cpu info Sometimes in troubleshooting we want to know what processor we are dealing with along with how much cpu is currently being used by our OS and programs. cat /proc/cpuinfo top Check the temperature of your CPU Keeping a computer within a safe temperature is the key to maintaining a stable system. cat /proc/acpi/thermal_zone/THRM/temperature List PCI and USB devices To list all the PCI devices in your system issues the following command: lspci For USB use: lsusb df -h sudo fdisk -l Installed Programs

Requests: Python HTTP Module (That Doesn’t Suck) : Python BSD For Linux Users :: Intro What is this? I run FreeBSD on my computers. A lot of my friends run Linux, or at least one of the distributions of it. Naturally, then, we agree that a Unix-style operating system is the right choice, but we disagree on which to use. It's been my impression that the BSD communit{y,ies}, in general, understand Linux far better than the Linux communit{y,ies} understand BSD. While there's overwhelming similarity between the operating systems in most cases, there are also a lot of differences. What isn't this? This is not: A list of command correspondances; "'netstat -rnfinet' on BSD = 'netstat -rnAinet' on Linux" and such things. I, personally, for me, believe (obviously) that my OS choice is right. Some preliminary thoughts There're a lot of philosophical disparity between the Linux world and the BSD world. BSD is what you get when a bunch of Unix hackers sit down to try to port a Unix system to the PC. That shows through in a lot of ways. BSD is designed. Where to begin?

Learn Linux, 101: Create and change hard and symbolic links Overview In this article, learn to create and manage hard and symbolic links. Learn to: Create hard or soft linksIdentify links and know their typeUnderstand the difference between copying and linking filesUse links for system administration tasks This article helps you prepare for Objective 104.6 in Topic 104 of the Linux Professional Institute's Junior Level Administration (LPIC-1) exam 101. Prerequisites To get the most from the articles in this series, you should have a basic knowledge of Linux and a working Linux system on which you can practice the commands covered in this article. Back to top Introducing links On a storage device, a file or directory is contained in a collection of blocks. A link is simply an additional directory entry for a file or directory, allowing two or more names for the same thing. You can create hard links only for files and not for directories. Soft links, or symlinks, merely point to another file or directory by name rather than by inode. Creating links

Password Sniffing over a Network (Part 3) Tutorial Description: In this video series, Sickness runs you through different password sniffing techniques. In this third video, Sickness shows how to use Sslstrip and Ettercap in combination to sniff passwords in the network traffic. You can visit Sickness' website for more info. Thanks goes out to Sickness for referring this video to us! Tags: tools , Disclaimer: We are a infosec video aggregator and this video is linked from an external website. Comments:

Linux Live scripts Build a Killer Customized Arch Linux Installation (and Learn All About Linux in the Process) Don't like Windows 8's new interface? Sick of Ubuntu Unity and the new ads that come along with it? Maybe it's time to create your own, ideal operating system with just the features you want. Arch Linux can make it happen: it lets you build your own personal, killer Linux distro from the ground up. If this article looks familiar, it's because we've posted it before! Here's why you may want to use Arch Linux, followed by how to set it up. Who Is Arch Linux Good For? Linux is popular for a number of reasons, but high on that list is the fact that, with Linux, you have a lot more power to tweak your OS to your liking. The key part of this explanation is "intermediate users." This guide has two parts. Bear in mind that while this guide should get you started, this is by no means a one-stop-shop for all Arch Linux knowledge. Why Arch Linux? As Arch is definitely not for Linux beginners, you may be wondering what its advantages are. Why, as an Ubuntu User, You May Want to Switch fdisk -l wifi-menu

Related: