Hi, all. I was new user to linux two weeks ago, but now i try to figure out ACL and etc. Before 7.03.2015 i had no prior experience with linux. I want to attend at next RHCSA exam (approx. 20th of april). I have official training books from Red Hat (RH124) and "RHCSA training live sessions" video set by Pearson, inc. Can i pass RHCSA exam? I don't plan to attend in any training, only self-study. What do you think? Or do you offer any special method to prepare for exam faster except paid trainings? Would be better if answers are by exam-takers or who passed.
PS: I have 3 years of experience in programming, especially C, C# and some other PLs.
Thank you beforehand!
I am appearing for RHCSA exam next week. I want to ask a simple question. CAN I DELETE FIREWALL RULE in RHCSA exam.
# service iptables stop
# iptables -F
# service iptables save
Any tips/suggestion for RHCSA exam would be really appreciated.
Thanks
Hi guys,
finished my linux+ and want to move on to some red hat training...
so i found on the red hat site:
http://www.redhat.com/en/services/al...ions-and-exams
that:
Red Hat Certified System Administrator (RHCSA) Exam (EX200).
looks like the entry level certification, and an obvious place to start...
i want to self study and have been googling but the information im finding is at least 4 to 6 years old...
has anybody self studied this? i would think so as red hat training is pretty pricey...
can anybody recommend a good study guide or video set or anything that is up to date and may help pass the exam
thanks
Hi,
I just came to know that LPIC_1 102 exam has been altered since last April and it seems that the modifications are mostly on the networking section.
Could anyone introduce resources/books/ebooks that cover the new modifications?
Hi,
I am Kamla, and a new user of LXR = Can anyone share information on how to mark items in an exam bank enemy items - or do not use on the same exam.
Thank you.
Kamla
I am preparing to take my EX200 exam for red hat Linux ver 6.X. My questions a number one, what are the main differences between version 6.X and 7.X ? and number two, what are some of the tricks I should look for?
Hi, After migrating to Canada I researched and concluded to learn Linux (starting with Redhat flavor). But still confused how to start. Initially I have downloaded REDHAT and its running in my laptop through a vm. Also have a book from Damian Tommasino and Asghar Ghori. But when I try to apply commands some does not work. It seems I should have access to a server to apply for that commands e.g. making new users, assigning permissions to users etc. Is there anybody who can help in just guiding me in few bullet points how to proceed towards learning REDHAT from beginning to earn certification of RHCSA & RHCE. will be obliged for your help.
Dear All
I need your help.
I want to get a file from windows server using ftp.
Below is the script I have created but the connection is not established:
#!/bin/sh
lcd "directory in linux server"
USER="username of windows server"
PASS="password"
ftp -n "ip of windows server" <<EOF
user $USER $PASS
cd "C:\Users... directory in windows server where file is located"
bin
get test1234.txt
bye
EOF
I hope somebody can help me!
BR,
I have a shell script that calls an expect script I wrote to ssh login to another host and get user input regarding that host's network configuration. I pass four arguments to the expect script: the remote host ip address, the username, the password, and the list of commands to run. My expect script is below:
#!/usr/bin/expect
# Usage: expectssh <host> <ssh user> <ssh password> <script>
set timeout 60
set prompt "(%|#|\\$) $"
set commands [lindex $argv 3];
spawn ssh [lindex $argv 1]@[lindex $argv 0]
expect {
"*assword:" {
send -- "[lindex $argv 2]\r"
expect -re "$prompt"
send -- "$commands\r"
}
"you sure you want to continue connecting" {
send -- "yes\r"
expect "*assword:"
send -- "[lindex $argv 2]\r"
expect -re "$prompt"
send -- "$commands\r"
}
timeout {
exit }
expect -re $prompt
send -- "exit\r"
}
The script runs well, except that if I send a command such as 'read' that requires user input, the script does not continue or exit after the user presses enter. It just hangs.
The commands I pass to the expect script and it's call are as follows:
SCRIPT='hostname > response.txt;netstat -rn;read net_card?"What is the network interface card number? " >> response.txt; read net_mask?"What is the subnet mask? " >> response.txt'
/usr/bin/expect ./expectssh.exp $hostip $usr $pswd "$SCRIPT"
Any suggestions on how I can pass a command to my expect script that requires user input without it hanging?
On a side note because I know it will come up - I am not allowed to do key-based automatic SSH login. I have to prompt for a username and password, which is done from my main shell script.
Thanks for any suggestions and help you can provide!
I recently installed debian-7.8.0-i386-DVD-1.iso on a VirtualBox. It "live booted" just fine and then I followed the install instructions. As far as I can tell it works. ??? I dont know. here is the issue. When I tried to instal from the Add/remove software in the applications. I get a notice to load 'Debian GNU/Linux 7.8.0_Wheezy_- Official i386 DVD Binary-1' in the dvd tray, after it starts to load/install. so what is really going on there? why do I need to use this? how do I get around it. I appreciate the input. Keep in mind I have know idea about how Linux works. First time user.
I want to And search grep shell
but It's hard to grep variable
---------------------------------------------------------------
#!/bin/bash
if [ $# -eq 0 ]
then
echo "Ussage: phone searchfor [...searchfor]"
echo "(You didn't tell me what you want to search for )"
else
pass=0
find=""
for idx in $*
do
if [ -n "$idx" ]
then
if [ $pass -eq 0 ]
then
find=$(egrep "$idx" mydata)
pass=1
else
find=$("$find" | grep "$idx")
echo $find
fi
fi
done
if [ -z "$find" ]
then
echo "There is no such thing"
else
echo $find | awk -f display.awk
fi
fi
-----------------------------------------------------
there is one error : command not found
in find=$("$find" | grep "$idx")
how can I grep variable and store it into variable?