To reboot your Linux machine, use the sudo reboot command. Another way is to type sudo shutdown -r now. To lookup the IP address of a host, use the nslookup command. For example: nslookup google.com. [email protected] ~ % nslookup google.com Server: 172.31.0.2 Address: 172.31.0.2#53   Non-authoritative answer: Name: google.com Address: 74.125.237.193 Name: google.com Address: 74.125.237.194 …

This is the best tutorial I have found that allowed me to install FreePBX on an Ubuntu 14.04 instance on an Amazon AWS instance. I tried a few and this one really did work for me after following all of the steps and exercising patience. http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+12+on+Ubuntu+Server+14.04+LTS. FreePBX is a very useful tool for setting up …

This simple command allows the user to print the contents of a variable. [email protected]:~ % echo "$LOGNAME" [email protected]:~ % echo "$LOGNAME" homer Use the netstat command to get information about all network connections to and from your machine. [email protected]:~ % netstat Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 …

Change the mac address of your network adapter. sudo ifconfig wlan0 down && sudo ifconfig wlan0 hw ether 00:11:22:33:44:55 && sudo ifconfig wlan0 upsudo ifconfig wlan0 down && sudo ifconfig wlan0 hw ether 00:11:22:33:44:55 && sudo ifconfig wlan0 up This will change the mac address of your network interface instantly. Below is an example. [email protected]

The route PRINT command shows the routing table. This gives some insight into your network connections. C:\Users\Administrator>route PRINT =========================================================================== Interface List 18…1e 0f 6e 5d e1 25 ……Microsoft Wi-Fi Direct Virtual Adapter 13…4c 0f 6e 5d e1 25 ……Qualcomm Atheros AR5B97 Wireless Network Adapter 12…88 ae 1d 6d 09 bc ……Broadcom NetLink (TM) Gigabit Ethernet …

This command lists the information about your user. C:\Users\homer>net user Administrator User name Administrator Full Name Comment Built-in account for administering the computer/domain User’s comment Country code 000 (System Default) Account active No Account expires Never   Password last set 11/2/2006 11:08:15 PM Password expires Never Password changeable 11/2/2006 11:08:15 PM Password required Yes User …

The mount command shows information about your mounted partitions on your machine. iMac305:~ admin$ mount /dev/disk0s2 on / (hfs, local, journaled) devfs on /dev (devfs, local, nobrowse) map -hosts on /net (autofs, nosuid, automounted, nobrowse) map auto_home on /home (autofs, automounted, nobrowse) map -fstab on /Network/Servers (autofs, automounted, nobrowse) /dev/disk0s3 on /Volumes/Scratch (hfs, local, journaled)iMac305:~ …

Useful tips and commands for absolute Linux beginners. The Linux command line has many useful commands that are useful for managing files and installing software. I will cover a few in this post. cp. This command is used to copy a file from one location to the other. For example: cp myfile.txt Desktop/myfile.txt which will …