If you want to see the http headers from your shell, you can do it with:   wget –no-check-certificate –server-response –spider https://yourwebsite.something The result would be something like: [bash] Spider mode enabled. Check if remote file exists. –2014-02-07 11:13:33– https://yourwebsite.something/something Resolving yourwebsite.something… 129.177.5.226 Connecting to yourwebsite.something|129.177.5.226|:443… connected. HTTP request sent, awaiting response… HTTP/1.1 301 Moved

You can easily access your Windows computer desktop from a Linux computer with the tool rdesktop: [bash]rdesktop -u username -d domainname -k no -f -z -p- host[/bash] where -k no specify that the keyboard is norwegian -z to compress -p- prompt for password before connecting -f full screen (to quit full screen press CTRL-ALT-ENTER) host

I am writing most of my bash script with nano editor. If one want to get colours in nano, on can do: [bash] locate *.nanorc [/bash] which will give a list of what is available on your system: /usr/share/nano/html.nanorc /usr/share/nano/java.nanorc /usr/share/nano/man.nanorc /usr/share/nano/mutt.nanorc /usr/share/nano/nanorc.nanorc /usr/share/nano/perl.nanorc /usr/share/nano/python.nanorc /usr/share/nano/ruby.nanorc /usr/share/nano/sh.nanorc Now, you can do: [bash] nano -w ~/.nanorc

Sometimes you like to know some more what is behind a web-address or a domain-name. Then the linux command ‘dig’ can be helpful: dig www.interstingwebsite.com soa Example: dig www.google.com soa which gives:  ]$ dig www.google.com ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.5 <<>> www.google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:

In Linux you can use the command ‘find’ to find files and folders and then also do something with them on your system. Find all files that ends with the .php extension in the folder /var/www/: find /var/www/ -type f -name ‘*.php’ This will give you a list with a lot of files. So, what?

Git is a tool that can help you track changes in your files, specially when you share your files with your friends on a Linux server. Here is a very simple description: log into your server ssh foobarserver go to your folder where you want to track files cd to/your/folder/for-git-tracking/test/ create a local git repository

Sometimes you like to know which folders are using up all your space on your Linux server. This command will sum up the disk usage per folder, and print the result: du -m –max-depth=10 / | sort -r -n | head -10 – m (display in megabyte) – max-depth=10 (folder depth? Should be plenty, depends