Quantcast
Channel: Commands by matthewbauer
Browsing all 25 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

What Type of Computer Do You Have?

$ cat /sys/devices/virtual/dmi/id/board_name Prints the type of computer you have. I think this should be used more in distros and other applications because it is so easy to get. This can also be...

View Article


Image may be NSFW.
Clik here to view.

Reboot as a different OS in Grub

$ echo "savedefault --default=2 --once" | grub --batch; sudo reboot This will reboot as the Grub 2 option. View this command to comment, vote or add to favourites View all commands by matthewbauer Diff...

View Article


Image may be NSFW.
Clik here to view.

Get iPhone OS firmware URL (.ipsw)

$ get-ipsw(){ curl -s -L http://phobos.apple.com/version | sed -rn "s|[\t...

View Article

Image may be NSFW.
Clik here to view.

Save your open windows to a file so they can be opened after you restart

$ wmctrl -l -p | while read line; do ps -o cmd= "$(echo "$line" | awk '$0=$3')"; done > ~/.windows This will save your open windows to a file (~/.windows). To start those applications: cat...

View Article

Image may be NSFW.
Clik here to view.

Visit wikileaks.com

$ echo 213.251.145.96 wikileaks.com | sudo tee -a /etc/hosts This one is a little bit easier for those of us that aren't always root. View this command to comment, vote or add to favourites View all...

View Article

Browsing all 25 articles
Browse latest View live