1.

Solve : UNIX?

Answer»

Got a couple of questions i need help with when using UNIX


1.I am working o a problem for a uswer and are LOGGED into that uswers account. What would I use to display the paths associated with that account?

2.I am also develop0ing a shell script and want to temporarily set the variable check to contain the value of variable M plus 1, What would be the best command to get this to work.

I have 3 files that start with "data" in order to to display the 4 files one right after the other, would I ant to use more data [1-4]?

Any help I can get, I woud appreciate it. I am new to UNIX and still having problems UNDERSTANDING it.

THANKS!

John Quote from: jaymze996 on November 19, 2007, 08:04:14 PM

Got a couple of questions i need help with when using UNIX


1.I am working o a problem for a uswer and are logged into that uswers account. What would I use to display the paths associated with that account?
Code: [Select]echo $PATH

Quote
2.I am also develop0ing a shell script and want to temporarily set the variable check to contain the value of variable M plus 1, What would be the best command to get this to work.
Code: [Select]#var=`echo $M +1|bc`

Quote
I have 3 files that start with "data" in order to to display the 4 files one right after the other, would I ant to use more data [1-4]?
Code: [Select]# CAT data*


Discussion

No Comment Found