Search Results

Search: Posts Made By: citizencro
3,188
Posted By citizencro
Thank u very much!!
Thank u very much!!
3,188
Posted By citizencro
Thank u very much!!! I am still getting the whole...
Thank u very much!!! I am still getting the whole record though. Is there a way to pull just the first name and output that only? My columns are separated by : I tried $ awk -F: 'length ($1) == 4'...
3,188
Posted By citizencro
awk - pattern matching?
Hello all,
I am trying to sort thru a database and print all the customers whose first names are only four characters. I just want to pull the first name only from the database.

the database...
2,095
Posted By citizencro
sed - appending text
Hey all

I am trying to append a file called datebook.txt. I want to append the end of each line containing the name Fred with three ***. I believe I need to make the * loose its meta character...
4,742
Posted By citizencro
I mean background jobs started by my session. I...
I mean background jobs started by my session. I thought I would need to include processes with that also. I am using putty to access our server.
4,742
Posted By citizencro
ok I know that I can display all running...
ok I know that I can display all running processes with ps -ux. I can display only the processes that I am running by ps -U citizencro. I can kill what process I want with with kill -9 %pid and it...
79,569
Posted By citizencro
I have written the code to create a file named...
I have written the code to create a file named backup which can append the date and time with the following code;

FILE="backup_$(date +%b)_$(date +%d)_$(date +%Y)"
echo $FILE

I can't figure...
79,569
Posted By citizencro
Shell Scripts - Append a filename with date and time....
Hello,

I need to create a shell script that appends a filename to create a name with the date and time appended that is guaranteed to not exist. That is, the script insures you will not overwrite...
4,742
Posted By citizencro
Shell Scripts - Killing a job....
Hello all,

I need to write a shell script that does the following; Allows you to kill a job,(1) listing only the jobs you own, (2) asks for which job to kill, (3) kills the job and (4) confirms...
3,686
Posted By citizencro
Thank you very much!!!
This worked and was very helpful and appreciated... Thanks, citizencro
3,686
Posted By citizencro
on login, in the message of the day..... Although...
on login, in the message of the day..... Although the question was not specific, just asked for a shell script displaying the above.
3,686
Posted By citizencro
I need it to say "today is friday, tgif" on...
I need it to say "today is friday, tgif" on friday, then on sat, sun, mon etc, I need it to display sat - 6 days left, sun 5 days left, mon 4 days left, etc...... Thanks for the response...
3,686
Posted By citizencro
shell scripting - gives a message on Fridays and a countdown on other business days.
Hey - I need to write a shell script that gives a message on Fridays and a countdown on other business days. ("Today is Thursday, one day to go to Friday") I don't know if I should be scheduling a...
1,886
Posted By citizencro
The instructions asked for this; Write each of...
The instructions asked for this; Write each of the following shellscripts. Be sure to include the shbang line and comments.

Name the file deadusers – shows dead accounts (false shell) and includes...
1,886
Posted By citizencro
shell scripts - list dead users accts and include a count at the end?
I am trying to show the number of dead accts or false shells running and include a count at the end. Does anyone know how to go about this? Thanks - citizencro
5,022
Posted By citizencro
shell scripts - create a filename with the date appended
I am looking to do something where if I created a file named backup,or whatever it would print a name like “backup_Apr_11_2011”. Thanks citizencro
25,045
Posted By citizencro
it's asking me to use a different command or...
it's asking me to use a different command or "better" command than date???

---------- Post updated at 08:40 PM ---------- Previous update was at 08:39 PM ----------

by creating a shell...
25,045
Posted By citizencro
Shell Scripts - shows today’s date and time in a better format than ‘date’ (Uses positional paramete
Hello,

I am trying to show today's date and time in a better format than ‘date' (Using positional parameters). I found a command mktime and am wondering if this is the best command to use or will...
3,989
Posted By citizencro
Thank you very much.....
Now how do I get it to do the reverse, showing all files with full info and no directories? Thanks for responding, citizencro
3,989
Posted By citizencro
Shell Scripts - Show all directories with full information ( and no files)
Hello all, i'm stumped.... I need to list all directories with all there info and exclude the files, then vice versa. I am not sure if I need to string several ls commands together or how to even do...
Showing results 1 to 20 of 20

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