mktemp
is preferred totempfile
.
Shell Equivalent in Different Operating Systems
It suggested that you use IPython shell instead of Bash/Zsh shells. Please refer to IPython Is the Best Shell for detailed discussions. If you have to use shell commands, it is suggested that you use Linux commands when possible as Linux command are more universal and useful. You can …
Missing Grub Menu of Windows Operating System
I came across this problem after I installed both Debian and Windows 7 system on my laptop. After searching online, I found a solution to this problem. 1. Open /etc/default/grub as root user and make sure the following line is somewhere in the file and uncommented:
GRUB_DISABLE_OS_PROBER=false …
Make Your Linux Server Securer
-
Define host access rules in
/etc/hosts.allow
and/etc/hosts.deny
. Usually I only allow login to my private server from my home and work ip. If I have to login into my private server from some other network, I login to a computer at my workplace, login into …
Transfer Files over Network in Linux
Comparison of Network Drives (Remote File System)
-
NFS is very fast but not secure and it is for Unix/Linux only. It is a good choice for local network sharing.
-
Samba is fast, secure and cross-platform. it is good for general purpose sharing and popular in companies.
-
SSHFS is slow …
Advanced Use of "head" and "tail"
It is suggested that you use Python instead of Shell to manipulate text files!!
Besides passing an unsigned integer as parameter to the option -n
,
you can also pass a signed integer to it.
When a signed integer is passed to -n
,
it means from/to (inclusive/exclusive similar to …