Very useful .vimrc file for Linux users.

A very nice .vimrc file for any Linux user, this makes VI or VIM easier to use. " ~/.vimrc (configuration file for vim only) " skeletons function! SKEL_spec() 0r /usr/share/vim/current/skeletons/skeleton.spec language time en_US if $USER != ” let login = $USER elseif $LOGNAME != ” let login = $LOGNAME else let login = ‘unknown’ endif … Read more

Another good way to look for open directories full of files with Google.

This Google search term will find all folders on the Internet with files for download. Predators -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mp4|wma|aac|avi)Predators -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mp4|wma|aac|avi) This Google Dork will find all Administrator login pages on the Internet, that are accessible from the `net. inurl /administrator/index.php autologin=1inurl /administrator/index.php autologin=1 Find all webcams that can be … Read more

Windows 10 deleting user files. This really is embarrassing for Microsoft.

The new Windows 10 update includes a feature that auto deletes user`s important files. This is very embarrassing, this does protect sensitive files from the prying eyes of the NSA, but it is not good if your prized wedding photos are deleted. It consistently amazes me that people do not make backups or have redundant … Read more

Updating an open-source project is fun.

I have updated my System Information project, I used git to push changes to the repo from my local machine. This is not too hard. Add files to the main branch like this. jason@Yog-Sothoth:~/Documents/sysinfo$ git add src/iface.hjason@Yog-Sothoth:~/Documents/sysinfo$ git add src/iface.h Then push the changes to the repo. jason@Yog-Sothoth:~/Documents/sysinfo$ git push Username for ‘https://github.com’: john302 Password … Read more

Get information about filesystem usage with the MATE Disk Usage Analyser.

The MATE Disk Usage Analyser is a very good way to get disk usage information in a graphical fashion. The above example, shows the usage on the whole Linux filesystem. MATE Disk Usage Analyser showing information about my home directory. The user can click each folder to view disk usage information about a certain folder, … Read more

Restore the files in /etc/skel if they have been deleted.

The files in /etc/skel are for the creation of new user accounts, but if they are deleted accidentally, they are no good no anyone. This is how to re-download these files and restore them. Firstly, download the bash package to an empty directory. ason@Yog-Sothoth » bash » $ apt download bash Then extract it to … Read more

How to use rsync to list filenames in a directory on a remote Linux server.

The rsync command with the –list-only parameter allows the user to list filenames on a remote machine. But by default, it looks like this. jason@Yog-Sothoth » ~ » $ rsync –list-only [email protected]:/home/jason/Documents/ [email protected]’s password: drwxr-xr-x 4,096 2018/05/09 09:49:49 . -rw-r–r– 867,863 2018/04/19 12:44:56 altis_insurgency_altis.pbo -rw-rw-r– 681,638 2018/05/04 09:03:16 pg768.txt -rwxrwxr-x 166 2018/01/17 09:48:52 rhsafrf.0.4.5.bikey -rwxrwxr-x … Read more

Very useful Linux files to setup your installation.

Linux configuration files Here are a few useful Linux configuration files to get your installation setup and working just fine. ~/.vimrc. This is to setup the VIM editor and make it easier to use for the average Linux user. " ~/.vimrc (configuration file for vim only) " skeletons function! SKEL_spec() 0r /usr/share/vim/current/skeletons/skeleton.spec language time en_US … Read more

How to list the password files on a Macintosh OSX Sierra computer.

Get ahold of the Mac OSX Sierra password files This is how to list the password files on a Macintosh machine, but the folder is only readable by the superuser. deusexmachina:~ jason$ sudo ls -l /var/db/dslocal/nodes/Default/usersdeusexmachina:~ jason$ sudo ls -l /var/db/dslocal/nodes/Default/users This will return a listing of many files that contain passwords. But these are … Read more

Deleting files on your Linux machine that have strange names. And how to use wildcards on the shell.

I ran a Perl script on my system that created a bunch of files on my computer named as shown below. I could have typed rm -f A* but that could have deleted other files that have a capital “A” as the first letter of the filename. That is where wildcards come into play. I … Read more

Finding files with the Linux command line. Using find & locate.

Finding files with the Linux command line. Using find & locate The find command on Linux is very useful for finding commands on your Linux installation. In the example below, I am using wild-cards to look for all the c source files in a certain folder. neo@deusexmachina:~/Documents$ find -name "*.c" ./strobe.c ./myftp.c ./utv_gd.c ./syscall.c ./program.c … Read more

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

The shred command on Linux is the perfect way to remove files securely from your Linux system. With a large amount of iterations, it will ensure that it is very difficult to get the data back. the -u parameter will delete the file after the overwriting process. neo@deusexmachina:~$ shred -n 20 -u gegl-0.2.0.tar.bz2neo@deusexmachina:~$ shred -n … Read more

Some useful Linux configuration files. How the system is setup.

Some system configuration files on Linux and what they do /etc/profile This configuration file controls the system-wide environment variables. This contains the PATH variable that controls where binaries may be run from system-wide. /etc/motd This file contains a message that will be visible above the login prompt on the virtual console. Usually this is auto-generated … Read more

Copy a file from one UNIX/Linux machine to another using the sftp utility.

Copying a file with sftp from one UNIX machine to another is very easy. The command below uses the SSH protocol and initiates a connection to the remote PC. ubuntu ~ $ sftp -P 443 [email protected] ~ $ sftp -P 443 [email protected] Press ENTER and type your password. The user will be presented with a … Read more

How to search for files on a Windows machine with the command line. And some other useful tricks.

This command will search a directory recursively to find files matching a pattern. C:\Users\Homer>where /R C:\Users\homer\Documents *.txt C:\Users\Homer\Documents\age-of-ultron-script-outline.txt C:\Users\Homer\Documents\windows10key.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition (TRUE PDF)\Torrent downloaded from AhaShare.com.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition (TRUE PDF)\Torrent Downloaded From ExtraTorrent.cc.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition (TRUE PDF)\tracked_by_h33t_com.txt C:\Users\Homer\Documents\Downloads\Linux The Complete Manual 2nd Edition … Read more