Search Results

Search: Posts Made By: almirzaee
Forum: Red Hat 11-10-2011
14,486
Posted By Corona688
In what way did it not work? That would've...
In what way did it not work?

That would've been my next suggestion. There's a lot of things with finicky permissions inside /etc/, be sure you copied them in a manner that preserved them exactly. ...
Forum: Red Hat 10-30-2011
2,014
Posted By fpmurphy
Out of curiosity I downloaded the e3 tarball. ...
Out of curiosity I downloaded the e3 tarball. The x86_64 binaries e3 and e3-yasm both work OOTB for me on Fedora 16 and should work for you. You can install these binaries anywhere you like. I...
Forum: Red Hat 10-29-2011
2,505
Posted By dude2cool
Try this: Allow A Normal User To Run Commands...
Try this:
Allow A Normal User To Run Commands As root Under Linux / UNIX Operating Systems (http://www.cyberciti.biz/tips/allow-a-normal-user-to-run-commands-as-root.html)
Forum: Red Hat 10-28-2011
2,505
Posted By yazu
man sudoers
man sudoers
11,739
Posted By neutronscott
My understanding of the assignment was that the...
My understanding of the assignment was that the ID was passed as $1...


When this script is run, one parameter/argument is passed to the script.


The step4 solution you desire is nothing more...
11,739
Posted By XYU
Google makes miracles ) Here one of the...
Google makes miracles )

Here one of the solution for #1

read -p "Write your student ID: " ID #write your variable $ID, you can use yours
if ! echo $ID | egrep "^[0-9][0-9][0-9]$" ...
11,739
Posted By Corona688
echo path/to/[0-9]
echo path/to/[0-9]
11,739
Posted By neutronscott
num="109" for ((i=0;i<3;i++)); do echo...
num="109"
for ((i=0;i<3;i++)); do
echo ${num:$i:1};
done

Assignment said use cut ? hmm.. see agama's post.
11,739
Posted By agama
Because this is an assignment I don't think...
Because this is an assignment I don't think anybody here will hand you the solution. I'm sure if you were to post what you've tried, or even pseudo code, people would offer suggestions as to what...
11,739
Posted By agama
Try these commands at the command line and see if...
Try these commands at the command line and see if they don't help you along a bit:


stuff="abcdefghi"
echo $stuff | cut -c 2
letter=$(echo $stuff| cut -c 3)
echo "3rd letter is: $letter"
11,739
Posted By agama
These are my observations about your attempt: ...
These are my observations about your attempt:

In step 1, unless my versions of Kshell and Bash are way out dated, I do not believe this test will work:


elif [[ "$studentid" !=...
11,776
Posted By marianor31
People, after submitting this post a link to an...
People, after submitting this post a link to an old post gave me the answer :

The command 'stty -echo'.

Thanks and regards,
Mariano R.
Showing results 1 to 12 of 12

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