Search Results

Search: Posts Made By: galanom
6,925
Posted By galanom
Yes, but you did not use variables. My issue...
Yes, but you did not use variables.
My issue seems to be with variable expansion.
6,925
Posted By galanom
zsh, prompt, variable expansion, ANSI color sequences
Hi!

I am using latest ZSH and I have setopt prompt_subst

I have a global hash array variable which contains some color definitions with color names as keys and 256-color ANSI codes (with %{ and...
7,955
Posted By galanom
a simple for loop in bash and zsh
Hi! I am just starting to learn scripting.
I am trying a simple script in bash and zsh
I have two questions:

First: Why zsh does not expand the var M? What I am doing wrong?

localhost galanom...
4,703
Posted By galanom
I'm being confused a bit. How do you do...
I'm being confused a bit.
How do you do "context switch"?
In userspace you can't.
In kernelspace you can, but to withhold the scheduler from scheduling kthreads would require to patch it, no? But...
Forum: Red Hat 10-20-2011
3,790
Posted By galanom
Yes, of course sector sizes are 2048 for cdroms,...
Yes, of course sector sizes are 2048 for cdroms, but that can be also said for hard drives, which are 512 bytes.

What I wanted to say is that 4.7GB dvds are 4.37GiB and 25GB Blu Rays are 23.3GiB....
Forum: Red Hat 10-20-2011
3,790
Posted By galanom
You are correct. I googled it and it's SDLT II...
You are correct. I googled it and it's SDLT II 300GB real (2:1).
And of course it's drivemakers GB :) Only RAM chips is "real"
6,852
Posted By galanom
First of all, I quite agree with the cluster...
First of all, I quite agree with the cluster idea.
If it is really of the question, put whatever distro you want and simple DON'T update kernel. You are not forced to apply each update of the...
7,986
Posted By galanom
NO! Never ever use the same file at both...
NO!

Never ever use the same file at both sides of a pipe or redirection. It will be corrupted since process in concurrent. It does not finish and then pass the results as DOS did.

But yes, this...
5,749
Posted By galanom
Dash is not a special character, it does not need...
Dash is not a special character, it does not need to be backslashed, never.


localhost kernel # echo -
-
localhost kernel # echo "-"
-
localhost kernel # echo '-'
-
localhost kernel # echo...
4,703
Posted By galanom
You can't come and go between user and kernel...
You can't come and go between user and kernel space.
These spaces are strictly separated.
The only form of communication from user space to kernelspace is with system calls.

User level threads...
2,303
Posted By galanom
First of all, a diskless pc is called "thin...
First of all, a diskless pc is called "thin client", not "fat client"
Fat client is quite the opposite.

I assume you want to setup a server-like pc.

There are countless services that you may...
Forum: Filesystems, Disks and Memory 10-20-2011
8,396
Posted By galanom
it says "PHP Code" in the tags
it says "PHP Code" in the tags
Forum: Red Hat 10-20-2011
3,790
Posted By galanom
Haven't thought of using dd to tell the truth. ...
Haven't thought of using dd to tell the truth.
But that's really tough to understand.

Can I propose

dd if=bigfile of=/dev/tape bs=600GB count=1 skip=0

and increase skip by one each...
2,197
Posted By galanom
I guess cat Jan Feb Mar Apr Mar Jun Jul is...
I guess

cat Jan Feb Mar Apr Mar Jun Jul
is out of question, right? :wall:

Well, why don't you create an environmental variable with the contents "Jan Feb ... Dec". That will make your life...
3,727
Posted By galanom
Due to strict policies regarding cheating, I...
Due to strict policies regarding cheating, I can't tell you exactly, but I'll give an example with the undergrad project I made for a course about data structures.

I had the files

binsearch.c ...
2,607
Posted By galanom
Well, obviously it's a text adventure game. The...
Well, obviously it's a text adventure game.
The first column is the action or position code and the following data it's the message the player will see.

How do you want to parse it? Which...
Forum: Red Hat 10-20-2011
3,790
Posted By galanom
Hi, Unfortunately tar does not support...
Hi,
Unfortunately tar does not support splitting of archive.
You have to do this by hand, using split (man 1 split)


split -b600GB in out.


This produces volumes of 600GB.
Notice that with...
Showing results 1 to 17 of 17

 
All times are GMT -4. The time now is 06:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy