10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi.
I inject my tracklogin.sh script in the profile of each user.
$ more .profile
./tracklogin.sh
# This is the default standard profile provided to a user.
MAIL=/usr/mail/${LOGNAME:?}
bash-3.2$ more tracklogin.sh
#!/bin/bash
tdate=$(date +"%d%m%y")
mkdir -p /tmp/root_log... (20 Replies)
Discussion started by: mohtashims
20 Replies
2. UNIX for Dummies Questions & Answers
I am running a Rasberry Pi using the Rasbpian OS. I have a program that develops a log file. If I look at the log file with a terminal session I can CAT it and it contains just what I expect. If I go to the desktop file manager and double click the file opening it with the text editor nothing... (3 Replies)
Discussion started by: barrygordon
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need to create a test text file with the special characters \342\200\223 in it and to be able to use sed maybe to delete them
I tried doing it using vi by pressing CTRL-V and then typing 342 but it does not work. After pressing CTRL-V and typing 342 it seems to just insert the numbers... (1 Reply)
Discussion started by: newbie_01
1 Replies
4. Shell Programming and Scripting
Is the below correct syntax for if the user enters something other than "GJB2 or MECP2, or PHOX2B", then they are shown on the screen format.txt and allowed to enter in one of those formats? Thank you :).
Basically, the user can see which formats are allowed and enter a variant while viewing... (7 Replies)
Discussion started by: cmccabe
7 Replies
5. Shell Programming and Scripting
have three big data file, however I just need to see the mentioned below one line form the all the file which has SERVER_CONNECTION Value
File 1
export SERVER_CONNECTION=//dvlna002:10001/SmartServer
File2
export SERVER_CONNECTION=///SmartServer
File3
export... (1 Reply)
Discussion started by: Nsharma3006
1 Replies
6. Solaris
How do I set up my solaris 10 machine to display in text mode instead of graphics mode, permanently? (1 Reply)
Discussion started by: jastanle84
1 Replies
7. Shell Programming and Scripting
Hi All,
please help me to display 5 continious lines from a particular text.
my file is as below.
file1.txt
------
Good
1
2
3
4
5
luck
1
2
3
I want to diplay 5 lines from the word Good. (4 Replies)
Discussion started by: little_wonder
4 Replies
8. Shell Programming and Scripting
Hi,
I have a simple question:
I need to enter some text in a text file at a certain place via perl.
I would first need to find that specific text in the file and then I would like to insert a line after that particular line.
Say I have this text file:
I am a great Perl Programmer
I... (1 Reply)
Discussion started by: som.nitk
1 Replies
9. Shell Programming and Scripting
I am writing script that can run on solaris 10, Linux Fedora and windows taht has cybwin installed.
I want to display a variable containing muli-line text.
using echo command, the variable display all rows in single line i.e. it loses the format.
Is there any other command that displays... (2 Replies)
Discussion started by: mmunir
2 Replies
10. UNIX for Dummies Questions & Answers
SPls help me. Need a simple shell script. To enter month name and display its no.
eg: If i enter january. Then answer should be 1. (7 Replies)
Discussion started by: siddhesh2515
7 Replies