Top new questions this week:
|
I am trying to update the timestamps of all folders in the cwd using this:
for file in `ls`; do touch $file; done
But it doesn't seem to work. Any ideas why?
|
I have been using the below code ok for sometime, but now, I get an error
java Editor < "input/editor$i.in" > "tmp/editor$i.out"
diffCurr="$(diff "tmp/editor$i.out" "output/editor$i.out")"
if [ …
|
I'm quite confused about the following regular expressions I found in a shell script:
${0##*/}
${0%/*}
How do they work?
|
I read in text books that UNIX/Linux doesn't allows hard links to directories but soft links do. Is it because, when we have cycles and if we create hardlinks, and after some time we delete the …
|
For example, from this file:
CREATE SYNONYM I801XS07 FOR I8010.I801XT07
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
CREATE SYNONYM I801XS07 FOR …
|
I've never had this problem before, but for some reason, I can't rename my folder to packages/.
This is the structure:
root
- packages_old/
- packages
When I try to rename the folder with …
|
Is there a way to connect to a serial terminal just as you would do with SSH? There must be a simpler way than tools such as Minicom, like this
$ serial /dev/ttyS0
I know I can cat the output …
|
Greatest hits from previous weeks:
|
So, there are lots of different versions of Unix out there: HP-UX, AIX, BSD, etc. Linux is considered a Unix clone rather than an implementation of Unix. Are all the "real" Unices actual descendants …
|
Is there any way to keep a command from being added to your history? I have a command that I want to keep out of my history file, and I really don't care to have it there when I search the history …
|
Can you answer these?
|
In LibreOffice calc I have a column with thousands of values. Is there an easy way to list the number of UNIQUE values?
e.g. a column which had
red
red
red
green
green
blue
blue
blue
…
|
Some domain gets DNS cache poisoning if dnsmasq is the nameserver.
But the problem is gone if switch to BIND (named).
Is there a easy configuration of dnsmasq so that DNS cache poisoning can be …
|
I've tried following the Ubuntu hotkeys/media keys troubleshooting guide and /usr/share/doc/udev/README.keymap.txt.gz to make the Fn keys work. After copying the map file and modifying …
|