🔒 Karlo Luiten

Linux, SIEM, Security, NextGen Firewalls and more
  • Home
  • LinkedIn
  • SELinux cheat sheet
  • CISSP Reference
  • Contact

Vim clear whole file (clear/delete all lines in vim/vi)

 Uncategorized
Aug 092016
 
gg
dG
 Posted by karlo at 07:07

Sorry, the comment form is closed at this time.

  Delete old files (with find)   Simple sudo

Posts

  • Linux perform action on file change (like recompile or re-render)
  • Compiling: “bad register name `%rsp'”
  • Problem building Virtualbox modules on Centos (cannot generate ORC metadata)
  • Vim case insensitive searching /\csearch
  • Find windows version from commandline (cmd)
  • Windows identify user (‘whoami’ is not recognized as an internal or external command,)
  • Running compiled code sh: [10665: 4] tcsetattr: Invalid argument error
  • Bash sort IPs naturally
  • Sample systemd unit file
  • bash add IP in PWD to variable for easy reference
  • Easy AutoRecon summary (bash)
  • Vim use space to run macro q
  • Vim show some lines after cursor
  • Proxychains on fedora / centos7
  • Thunderbird hidden option: sync all subfolders
  • Metasploit using grep (no pipes | )
  • SQLMap pentesting answer Yes (or default) to questions
  • Bash while loop input (stdin reading from while-input) fix
  • Cross compiling error mingw32: Windows.h: No such file or directory
  • Use ls in cmd.exe
  • Vim jump to specific character (number) in (long) line
  • XFCE Focus follows mouse
  • Go compile error checksum mismatch (lnd)
  • Windows find file recursive cmd
  • Track data usage using iptables
  • Openvas service start timeout
  • Centos 8 enable cockpit (minimal install)
  • Print ansible facts for a server
  • Centos 8 restart network
  • nc/netcat smtp servers (tcp/25) not responding to commands
  • Libreoffice delete write protected content
  • Kali/debian update one package only
  • Fix “failed to start jnprTdi”
  • LVM device excluded by a filter (mpath / multipath )
  • systemctl Failed to execute operation: Access denied
  • Outlook search folder for calendar replies
  • Virtualbox copy files and clipboard
  • Rpmfusion fedora and h264/codecs
  • xfce terminal unsafe paste
  • Spotify on fedora
  • xfce4 terminal shortcut
  • Fix: Digital ID name cannot be found by underlying security system
  • Firefox memory and CPU profile
  • Bash array operations and examples
  • Unit someting.mount is bound to inactive unit
  • Bash color variables
  • Excel clear all filters shortcut: alt-dfs
  • Bash add UTF8 (UTF-8) BOM to file
  • Certbot centos 7
  • Get x11 forwarding working on Centos 7 & Putty & Xming
  • Reset ILO via SSH
  • Auto root login Centos 7 / EL 7
  • Set up TOTP/Google authenticator on Centos 7
  • LVM show pvmove status
  • Ovirt POSIX storage failing – Error while executing action Add Storage Connection: Problem while trying to mount target
  • Found ArcSight parser functions
  • Linux screencasting with overlays and all: OBS
  • Tail: prepend file name to tailing output (bash)
  • Node Rocketchat npm fibers not running ( versionGLIBCXX_3.4.20 not found ) on centos/rhel
  • Personal (manual) template for internal hosts
  • ArcSight upgrade/install “Unable to carry out the checkLocalHost check.”
  • Bash suppress all output of script (echo off – style)
  • Certmonger defunct RHEL7
  • Install Domoticz on Centos 7
  • Dell get serial / service tag on windows / linux
  • Fix DRAC too many sessions (invalid credentials)
  • Yum Error: database disk image is malformed fix
  • Nagios check_http HTTP WARNING: HTTP/1.1 400 Bad Request – 1307 bytes in 0.084 second response time
  • MS outlook quoting inline
  • SHA3 of most popular passwords part 5
  • SHA3 of most popular passwords part 4
  • SHA3 of most popular passwords part 3
  • SHA3 of most popular passwords part 2
  • SHA3 of most popular passwords part 1
  • sha3 of 1000 most common English words
  • SVN diff ignore white space
  • Vim reselect previous visual block
  • 6479e00fe1e437780cc1d60217ee374cabfd12eb494e6398dc95484c
  • Shodan IP list
  • RHEL CD repo
  • IPTables firewalld replace
  • FIX Invalidating snapshot: Unable to allocate exception
  • Logical volume vg0/lv contains a filesystem in use.
  • Grep / sed ignore matching and next line
  • Apache/httpd on rentos/rhel pam radius auth fail (Password Mismatch with GOOD password)
  • sssd pam System error 4 at login (FIX)
  • HP storage raid controller status disks
  • GDM Fedora autologin change session
  • Bind mounts
  • Changing nsslapd-cachememsize
  • [FIX] Puppet Failed to load feature test for posix: can’t find user for 0
  • Fedora Nemo disable background/desktop rendering (on awesomewm)
  • Failed to initialize credentials using keytab
  • Tmux session renaming
  • Connect to Slack using a znc bouncer
  • Let’s Encrypt AttributeError: ‘X509’ object has no attribute ‘_x509’
  • Howto: let’s encrypt for znc irc certs
  • Howto: stand alone let’s encrypt on centos7 (certs only)
  • Could not complete SSL handshake. – BUT YOU TRIED EVERYTHING!
  • Linux df says disk is full, du does not add up

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
© 2011 Karlo Luiten Suffusion theme by Sayontan Sinha