1. run cmd.exe (in Administrative mode - use Ctrl+Shift+Enter)
2. format: /FS:FAT32
hope this little piece of information saves your time.
2. format
hope this little piece of information saves your time.
Here you can find work around for some basic problems with Linux/Unix systems
#!/usr/bin/perl
#
open(FILE,"$ARGV[0]");
my @contents =;
my %dup;
foreach $line (@contents)
{
@keyz = keys %dup;
if(!(grep(/$line/, @keyz)) || $dup{$line})
{
$dup{$line}++;
if($dup{$line} > 1)
{
print $line;
$dup{$line} = 0;
}
}
}
#!/bin/bash
## Script to auto upload ssh keys on the LINUX HOST
NO_ARGS=0
E_OPTERROR=65
if [ $# -eq "$NO_ARGS" ] # should check for no arguments
then
echo "Usage: `basename $0` -i"
exit $E_OPTERROR
fi
while getopts ":ih" Option
do
case $Option in
i)
remote_host_ipaddress="$2"
;;
h)
echo "Usage: `basename $0` -i"
exit $E_OPTERROR
;;
esac
done
shift $(($OPTIND - 1))
## This will generate ssh key on the remote host
echo "Generation ssh-keygen on remote linux host"
echo $remote_host_ipaddress
ssh root@$remote_host_ipaddress /usr/bin/ssh-keygen -t dsa
echo "uploading your ssh keys on remote linux host"
scp ~/.ssh/id_dsa.pub root@$remote_host_ipaddress:/root/.ssh/authorized_keys
$ find -type f -mtime -1
$ "mail e-mail @domain.com"
Subject:
Type in the Body "the message " that you want to send
press a Dott (.) when you are done.
Cc: "Leave it blank "
$ dd if=/dev/zero of=output.file bs=1024 count=1024
$ find /home/ -printf "%s:%p\n"|sort -k1n|tail -1
$ echo $SHELL
or
$ ps | grep `echo $$` | awk '{print $4}'