10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
On server1 the "id" command works fine and returns "myuser" user as was expected. Below are the details of the good server.
$ id -nu 501
myuser
$ cat /etc/system-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
$ uname -a
Linux server1 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4... (10 Replies)
Discussion started by: mohtashims
10 Replies
2. Shell Programming and Scripting
If a command is not found, e.g. nawk, this is how I fix the problem
] && NAWK=/usr/bin/gawk
] && NAWK=/usr/bin/nawk
] && NAWK=/usr/bin/awkI use $NAWK an the set the appropriate value based on the system it runs.
How can I implement a similar fix for a command found but illegal argument.... (6 Replies)
Discussion started by: mohtashims
6 Replies
3. Shell Programming and Scripting
hi,
i need help for downloading excel file from internet and convert it to text file
wget http://spreadsheetpage.com/downloads/xl/wordfrequency.xls (4 Replies)
Discussion started by: raghur77
4 Replies
4. UNIX for Advanced & Expert Users
I was trying to copy all debs from apt cache to some storage location and I was taking this approach...
/var/cache/apt/archives# ls -1 | grep -v jdownloader | fgrep .deb | xargs cp /media/eshant/L-STORE/Softwares/openjdk/an error bla_bla.deb is a not directory stalled me
Suggestions please... (9 Replies)
Discussion started by: ezee
9 Replies
5. UNIX for Dummies Questions & Answers
Dear all,
I would like to use the wget command to download on my laptop some free e-books for then being able to read them when I am off the internet.
could you please let me know, what is the best of doing that?
Let's say, I want download the bible that can be found here:
The Project... (3 Replies)
Discussion started by: freddie50
3 Replies
6. UNIX for Dummies Questions & Answers
I was recently reading a manual of wget and there was command as "binding-address" and I read about tcp/ip binding but i don't understand one thing is...what is the use of binding address in wget..
Can anyone help me with this. (6 Replies)
Discussion started by: jFreak619
6 Replies
7. Solaris
I'm using the "wget" command to get the date from Yahoo.com. So this is what I use on Solaris:
/usr/sfw/bin/wget --timeout=3 -S Yahoo!
This works well when my computer is linked to the Net. But when it's not, this command just hangs. I thought putting the timemout = 3 will make this... (2 Replies)
Discussion started by: newbie09
2 Replies
8. UNIX for Dummies Questions & Answers
Hi guys,
I have a question about the zip command. Right now I have a directory with some files and folders on it that I want to compress. When I run the zip command:
zip foo -r
I am getting a foo.zip file that once I unzip it contains a foo folder. I want to create the foo.zip, but that... (1 Reply)
Discussion started by: elioncho
1 Replies
9. UNIX for Dummies Questions & Answers
Hi
I need to know if I have got the following grep command correct. I wanted to find from myfile.txt all signed real numbers (e.g. +5.0, -78, but not 5.0, 5 are not).
I have thought about it and decided it was this:
grep '' myfile.txt
but I was wondering if this was correct. If... (2 Replies)
Discussion started by: rushhour
2 Replies
10. Shell Programming and Scripting
hi
I was run thix command(wget) it was runing in some severs
but in some servers it wasn't run ??
......
how to it run in that server ?
thx
:( (1 Reply)
Discussion started by: XPS
1 Replies