How to install node.js on Fedora?
How to install node.js on Fedora?
You may install it by:
# yum install nodejs npm
How to install node.js on Fedora?
You may install it by:
# yum install nodejs npm
A try like the following command failed $ sudo echo “echo hello” > /usr/local/bin/hello with an message bash: /usr/local/bin/hello: Permission denied It seems the writing to the file is executed under the non-root user. How to redirect STDOUT of sudo command on Linux and write the content to the file (/usr/local/bin/hello here) as root? You…
Should I buy a Kindle paperwhite or regular Kindle? Actually, you can click the following link to get the answers :-)http://www.reddit.com/r/kindle/comments/16in81/should_i_get_a_paperwhite_or_regular_kindle/ Read more: Vim Regular Expressions Tutorials How to delete multiple items from Kindle Library How to hard reset an Amazon Kindle How to convert A4 paper format to read on Kindle 5 Transactional memory…
There is various network configuration information in Linux and lots tools can be used to find out those configuration information. Finding out these network information in Fedora Linux as the example will be introduced. IP address, MAC address and netmask ifconfig will print out all the network interfaces and their information including the IP address…
How to get the mtime of a file on Linux from the file’s path? You can use stat to get the file status including the mtime: %y time of last modification, human-readable %Y time of last modification, seconds since Epoch As an example, $ stat -c %y ./file 2017-06-26 13:33:06.764042064 +0800 $ stat -c %Y…
How to make xterm display Chinese characters? It just displays some small rectangles for Chinese characters. First, the settings for some old X programs like xterm is in ~/.Xresources. And it takes effect after the X server restarts, or you can manually load the settings by xrdb -merge ~/.Xresources Second, the Chinese or similar fonts…
How to get the full path and directory of a Makefile itself like finding Bash script’s own path? This 2 lines in Makefile get the full path and dir of the Makefile itself: mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) mkfile_dir := $(dir $(mkfile_path)) The piece of code gets you Makefile, finds its absolute path and the…