Find your IP address in Linux

Good information found on https://www.linuxtrainingacademy.com/determine-public-ip-address-command-line-curl/ Let’s do the same thing with the ip command. To view IP addresses, use ip addr show. Like ifconfig, you can specify an interface. $ ip addr show 1: lo: <loopback,up,lower_up> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever […]

Wake up and Shut Down Linux Automatically

Copied/taken from: https://www.linux.com/learn/intro-to-linux/2017/11/wake-and-shut-down-linux-automatically Don’t be a watt-waster. If your computers don’t need to be on then shut them down. For convenience and nerd creds, you can configure your Linux computers to wake up and shut down automatically. Precious Uptimes Some computers need to be on all the time, which is fine as long as it’s not […]

Finding Files in the Command Line (How To)

Great how-to from www.omgubuntu.co.uk Unfortunately in Linux, certainly Ubuntu, the default GUI file search is not the most useful way to find files. With just a small amount of patience you can find files quickly and easily using the command line, and your options for this are really powerful if you want to learn a bit about […]

The animated wallpaper app Komorebi

Copy from: http://www.omgubuntu.co.uk/2017/09/komorebi-wallpaper-app-new-features or else check the Youtube: https://www.youtube.com/watch?v=pFNdPy1lAe8 Hands up if you recall the animated wallpaper app Komorebi?   Now the app is back with a new release. Komorebi 2 claims to be “faster, smoother, and better” than before. There are new features, a new codebaseand (naturally) new wallpapers.  It also supports video wallpapers, which lets you to recreate the terrifying […]

The FIND command

A copy/paste from Source: BinaryTides.com The Linux find command is a very useful and handy command to search for files from the command line. It can be used to find files based on various search criterias like permissions, user ownership, modification date/time, size etc. Basic examples 1. List all files in current and sub directories This command lists […]

How to Toggle Between Two Directories in Linux’s Command Line

Taken from: http://www.howtogeek.com/272308/how-to-toggle-between-two-directories-in-linuxs-command-line/ Now, instead of typing the first directory name to go back to that directory, you can type the following command at the prompt and press Enter. cd – That’s simply the cd command followed by a space and then a dash. The name of the directory you’re toggling to displays and then you’re […]

Pack or unpack .tar or tar.gz

=================================================================== Als voorbeeld, om wordpress te compressen met tar en gzip > tar.gz tar -cvf wp_2.0.7_bu.tar wp gzip wp_2.0.7_bu.tar $ ls -l *.gz -rw-r–r– 1 myhood-nl customers 1551971 2007-02-02 13:56 wp_2.0.7_bu.tar.gz -[to extract WP into server directory:]——————————- Place the package in a directory parallel to your current wordpress directory (like “uploads,” for example). Then, unzip […]

How to decompress ****.tar.gz easily

You can use: tar -cvf wp_2.0.7_bu.tar wp gzip wp_2.0.7_bu.tar But it’s easier to use it in one command: gunzip -c wordpress-2.2.1.tar.gz | tar -xf or tar -xzvf latest.tar.gz Compressed UNIX tar archives (typically tar.gz or .tgz extensions) can be extracted in a single command. This is faster and works with less disk space available. To […]

Compress to BZIP and TAR

For example, the following commands would combine three files named file4, file5 and file6 into a single archive named file7.tar and then compress that archive into a compressed file named file7.tar.bz2: tar -cf file7.tar file4 file5 file6 bzip2 file7.tar Alternatively, this can all be accomplished in a single step by merely adding the -j option […]