Hot answers tagged

2 votes

tail -f nohup.out gives cannot open 'nohup.out' for reading: No such file or directory

From man 1 nohup [emphasis mine]: […] If standard output is a terminal, append output to nohup.out if possible, $HOME/nohup.out otherwise. If standard error is a terminal, redirect it to standard ...
Kamil Maciorowski's user avatar
1 vote

Why are simlink loop not an issue?

A hard link is a second copy of a pointer to a hard piece of filesystem data, the inode, while a symbolic link (symlink) is simply a special file containing an instruction to (akin to a web URL) to go ...
Mokubai's user avatar
  • 89.7k
1 vote

How to print last character of a file

by 'last char' - do you mean last letter or last byte? Usually a text file is ended with LF (or CRLF in Win), so tail -c1 will return that ending cbyte of the file. to get last 'letter-char' one can ...
Fedor's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible