10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I’m trying to write a script for users to easily check folder size.
The idea is to have a menu that starts at the top directory and then drills down to lower directories.
Selections 1-9 work fine.
The issue I’m having is any 2 digit menu selections (10+) doesn’t work and it returns the error... (3 Replies)
Discussion started by: MarkCyc
2. Shell Programming and Scripting
i have this prob
I have some records in a file1 like this
1001 sajal singh tampa
1002 .... so on
i have a pattern file which is like this
1,4 4,13 14,15
i have to read the first pair 1,4 and extract that from the first record
so the pattern is 1001
now i have to scramble 1001... (1 Reply)
Discussion started by: spankincubus
I have a requirement to add a warning banner to the Solaris 11 login screen. Adding the banner was pretty easy in Solaris 10 by changing *Dtlogin. Does anyone know how to make the change in Solaris !!? (3 Replies)
Discussion started by: goose25
Can someone please tell me how to log-in to Solaris as a superuser or as a root?
I have tried using "root" as a username, and my superuser password i had set in the terminal for the log-in password but it says "Roles can only be assumed by authorized users". "Permission denied."
I'm... (1 Reply)
Discussion started by: CarlosP
I am unable to login into my terminal hosting Solaris 10 and get the below error message
"Server refused to allocate pty
ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory "
Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
6. Shell Programming and Scripting
Hi Shell Scripting Experts,
I have a shell script running daily on a remote machine through ssh. To avoid the trouble of restarting the script when ssh disconnects, I use screen (a unix tool) and run the script within a screen session.
What this script does is to ask the user to input y or n... (2 Replies)
Discussion started by: jeff_cen
7. UNIX for Dummies Questions & Answers
We are on solaris sparc v10 OS. I would like to know how do I login to the zones?
Thanks (3 Replies)
Discussion started by: vandi
8. Shell Programming and Scripting
i have a input file like this
while reading the file i need to check whether the first column is a number
second column is a name
is there any methodology to check for the same
thanks in advance (2 Replies)
Discussion started by: trichyselva
Hi I have a ULTRA ENTERPRISE 2 machine. The system won't allow me to log in. When I use the root /root-password to login at CDE graphics screen , it says invalid user shell. I have not set up any other account here so I don't know whether this problem is only for root user.Whats the next step ??/ (9 Replies)
Discussion started by: enke1234
10. Shell Programming and Scripting
A sed command works most of the time however it fails sometimes.
I put each line (record) I read of a file through the following command
data=$(cat file | sed 's///g' | sed 's|.*ex:Msg\(.*\)ex:Msg.*|\1|' )
When I run the script I get a message that states that there is an invalid format... (6 Replies)
Discussion started by: gugs