Online Security: Rules to stay safe online

Standard

Some basic rules of thumb to use when online to increase your safety online, ordered in order of

  • General
    • Never open or reply to any email from an unknown. Consider it suspicious.
    • Never click a link given by a stranger or even by a friend if you’ve not asked for it.
  • Browser related
    • Disable redirects (links might redirect you to fake pages!)
    • Use HTTPS instead of plain HTTP
    • Block JavaScript & Java
    • Block Ads
    • Block 3rd parties in web pages (most of which are hidden)
    • Control cross-site requests
    • Erase internet history, private data, cookies
    • Erase Flash Local Shared Objects (LSO), also known as long-term Super-Cookies

Note: Pages might not load well enough with the above; you will often need to allow some services & parties, but at least its under your control!

  • Chatting
    • Follow the “General”
    • Use a good Instant Messenger
    • Use encryption

And remember, a computer is as smart as its user is & secure as cautious its user is!

Disclaimer: Please be warned that following the above rules increases your online security but it is by no means guaranteed to be completely safe! As a matter of fact, there’s nothing as being completely safe online!

Thanks for reading

last update: 2013-09-15

Useful Unix/Linux commands

Standard
$ indicates terminal command
# indicates a comment
Bold indicates “not installed by default”
$ lsusb     #list USB devices
$ lspci     #list all PCI devi
$ startx    #initialize an X session
$ more      #filter for paging through text one screenful at a time. (less gives more advanced).
$ less      #opposite of more; allows backward movement in the file as well as forward movement.
$ stty      #change and print terminal line settings
  $ stty size # prints terminal size

File commands

$ locate            #find files by name (for newbies I suggest the gui catfish -requires installation)
$ find              #search for files in a directory hierarchy
$ ls                #list directory contents
$ cd                #change directory
$ pwd               #print name of current/working directory
$ cp                #copy files and directories
$ rm                #remove files or directories
$ rmdir             #remove empty directories
$ file foo.format   #extracts info about file and what software it was written with; helpful in the case of having forgot which software was used to produce such a file

System info

$ uname
$ df                         #report file system disk space usage
                             #e.g; df or df /home
$ man                        #interface to the on-line reference manuals
$ free                       #Display amount of free and used memory in the system
                             #e.g; free -mt (m for MB & t for totals line)
$ uptime                     #tell how long the system has been running.
$ finger                     #user information lookup program
$ w                          #show who is logged on and what they are doing.
$ whoami                     #print effective userid
$ cat /proc/meminfo          #memory info
$ cat /proc/cpuinfo          #cpu info
$ lsb_release -a             #print (a: all ) distribution-specific information
$ last -x | grep shutdown    #show listing of last 10 logged in users; you can pipe this to the tail to read the last n instances.
                             #e.g; for 10 instances: last -x | grep shutdown | tail -n 10
$ last -x | grep reboot      #show listing of last logged in users
$ sudo shutdown -P hh:mm     #shutdown & poweroff (-P) @ hh:mm

Processes

$ uname
$ ps               #report a snapshot of the current processes.
$ top              #display Linux tasks
$ htop             #interactive process viewer based on top
$ watch            #execute a program periodically, showing output fullscreen
                   #e.g; watch -n 5 free -m
$ powertop         #program to analyze power consumption on Intel-based laptops
$ kill pid         #send a signal to a process
$ killall proc     #kill processes by name
$ pidof program    #find the process ID of a running program

Some useful terminal shortcuts

Ctrl+C #halt the current command
Ctrl+Z #pause command
$ fg #resume paused command in foreground bg resume paused command in background
Ctrl+D #logout of current session (similar to exit)
Ctrl+W #erase last word before cursor
Ctrl+U #erases the whole line
Ctrl+R #type to bring up a recent command
I hope this list turns out to be useful to you 🙂

Thanks for reading

last update: 2014-11-03

Linux: What is it & why? (vids)

Standard

Ubuntu 12.04LTS (Precise Pangolin)

Standard
Ubuntu 12.04LTS, otherwise known by Precise Pangolin, is coming soon; it is currently in Beta 2 testing. The final release should come in April. Here are a couple of images:
Ubuntu Precise Beta_Unity_2012-03-26
Unity on Ubuntu Precise Beta 2

Ubuntu Precise Beta_Unity & dash_2012-03-26
Unity’s Dash on Ubuntu Precise Beta 2
Ubuntu Precise Beta_Classic_2012-03-26
Gnome Classic on Ubuntu Precise Beta 2
Gnome 3 on Ubuntu 12.04 Beta 2
Gnome 3 on Ubuntu Precise Beta 2
LXDE on Ubuntu 12.04 Beta 2
LXDE on Ubuntu Precise Beta 2

Some of Unity’s features: http://developer.ubuntu.com/resources/technologies/unity/

For those like myself who are interested in Gnome, you could install the “gnome-panel” package to get the option (at login) to choose Ubuntu Classic (more gnome-like)

Just as anything new (whether good or not) alot of people might dislike the new Unity (replacing Gnome) just like I did at first, but I believe (after watching the following video) that Linux (whether Fedora with Gnome 3 or Ubuntu with Unity) is leading the computing experience!!!

P.S.: From 12.04 & on, the LTS releases are 5 years instead of 3 😀

Thanks for reading 🙂