command line
There is no rename function in Ubuntu Linux. Instead, you simply move the file, giving it a new name. If you don’t actually mv it to another directory, then you have effectively renamed it: If you are trying to rename a directory, you need to use the -r recursive flag:
Read the full article →
command line
I was trying to copy a directory, and I kept getting a cryptic error: cp: omitting directory `/var/log’ The copy (cp) command only works for files. To copy a directory, you need to use the -r recursive flag: In this case, I was trying to copy the log directory to make a quick and dirty [...]
Read the full article →