I have reasonable experience in linux based systems. I want to learn a scripting language , can anyone out there suggest which one is the best to start with ? I would be grateful if anyone can provide me with links / books references as well ...
Hello guys !
I just ran into the word scripting Language while watching a movie.Is it different than a Programming language ? If yes, then how.
And please explain their usage.
Thanks in advance......
Hi,
I am working with a software that is based on Perl scripting and I have encountered with a bash scripting error. So as I am not familiar with bash scripting well, I don't know how I can solve.
sh: -c: line 1: syntax error near unexpected token `('
sh: -c: line 1: ` 32(andRlooks_unw'
It should be mentioned that my $SHELL is /bin/bash. Could you please guide me what '-c' is? where is it? if I change the shebang (the #!/bin/sh part) to #!/bin/bash, the problem will be solved?
Regards,
Zahra
Hi,
i am using ubuntu 12.04 i working on scripting i want know how to change set of user passwords in shell scripting .
Hello everybody,
My system specifications: Samsung RV509, i3, 300GB HDD, 3GB Ram, Dual boot Windows7 & LM 17 cinnamon 32bit.
I have OpenOffice preinstalled on my system. I would like to create 'kannada' language word documents and be able to save them as windows .doc type file and/or .pdf file. [Kannada is the language of a state in south India.]
In case of windows; some 'kannada' language softwares called as 'Baraha' and 'Nudi' are available, that can be installed on a windows pc and 'kannada' language word documents can be created there.
These 'kannada' language softwares are not available for Linux.
However I want to be able to create 'kannada' language word documents on my Linux machine.
Is this possible? Could someone please kindly help me in this regard? I would be greatfull.
Thanks & Regards
Anil
Ok yes this is a homework assignment BUT I am NOT looking to have the answers given to me. I am in the 6th week of my first Linux class ever and we are in our few weeks of beginning scripting. I have some ideas of what to do or where to start but not many and no one to bounce any ideas off...we are using UNIX Bash shell so any others I have no clue. The scenario is that I need a script that searches all my users home directories for bad words. I need the script to report to the screen certain info like username and word found and path. It should ask a user if it is good or bad and if bad be put into a file of list of bad file names, if good remove from list and no longer flagged by the script. What I have so far is wanting to somehow do a loop. I do know that if I do a grep -r -e kill -e steal /home/* I get a list of what I need. I also know that the list is separated by delimiters which I can pipe to get a variable for the things I need. I also know that I can put it to a file with a > filename.txt
What I have no clue is how to start a loop that would do this...
for each line in filename.txt
UNAME=...
LOC=...
TXT=...
echo "Username: $UNAME, Line with bad word found: $TXT, and Path and file name: $LOC. Is this a BAD file? (Y)"
Read YORN
if ["$YORN" = "Y" ]; then
>> (line of text from grep) badfiles.txt
fi
Next or whatever goes there...sorry if this is crazy I just really need some direction. I am trying to learn so please don't give me the answer...that will do nothing for me and I will not be able to explain the code I came up with.
Dear Friends,
I am new to scripting. I want a help on script to schedule the shutdown and start up . I am using SUSE Linux system. Can some one guide me please
every night shutdown at 7pm & start it at 7am the next day during the weekdays. On the weekends, the server only needs to restart at 7am on Mondays.
Looking forward for help
Thank you
Regards
pearl
Hi All,
Is there any command or shell scripting to view only the link files under / .
hi guys,
i know what initialization systems are, and pretty much what they do.
lately everybody has been giving out about various distros changing to systemd...
firstly have i got this right?
init is pretty much retired and used on many older distros
debian used init then switched to upstart and now uses systemd...though you can keep using upstart but its difficult to get right.
slackware uses a hybrid type sysv with bsd like scripting...
centos 7 is using systemd by default
so what is the big fuss? why would a poor init system steer people away from a distro they have used for years.
can it really be this important? i mean how many times a day are you going to reconfigure start-up services etc...i dont understand this.
Whenever I log into Hotmail (and usually when I log into Gmail) as I begin writing everything is marked as mispelled, and when I click on Language, I find it has defaulted to French.
I do occasionally work in French, and I am used to the system fefulting to whichever language I have used more recently, but since the last upgrade to 34.0, it always defaults to French. If I have started with Hotmail, it almost always taks two or three tries to change the default; with Gmail it usually catches on the first try.
I am relatively sure this is a Firefox bug, as it does not occur if I open with Opera.
Any ideas? Or should I just be passing a bug report to Mozilla?
hello Experts!
need some help here with python FTP. so what i'm trying to do is, from a linux machine, ill be sending over a python script to a windows machine via python ftp. that works fine with no problem. now, i want to execute that python script i sent remotely. im having trouble with that. here's my code to just execute the script:
p.s : please dont suggest other options such as python paramiko due to many network security reasons
Code:
ftp = ftplib.FTP("windows machine name")
ftp.login("username", "password")
ftp.cwd("where\\python\\script\\is kept\\")
ftp.sendcmd("python myscript.py")
but looks like it doesn't recognize that command. how do i accomplish this please?