4 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I'm a complete beginner in UNIX (and not a computer science student either), just undergoing a tutoring course. Trying to replicate the instructions on my own I directed output of the ls listing command (lists all files of my home directory ) to My_dir.tsv file (see the screenshot) to make use of... (9 Replies)
Discussion started by: scrutinizerix
2. Shell Programming and Scripting
Can anyone what I am doing wrong while using cut command.
for f in *.log
Log "Log file Name: $logfilename"
logfile1=`basename $logfilename .log`
Log "file length $flength"
from_length=$(($flength - 15))
Log "from... (2 Replies)
Discussion started by: dgmm
3. Shell Programming and Scripting
I'm trying to extract string from variable in BASH. That's probably trivial for grep but I couldn't figure it out.
I want to get name, there's sometimes digit after it, but it should be left out.
Could someone help me with that?
Any... (10 Replies)
Discussion started by: cootue
4. UNIX for Dummies Questions & Answers
Could you put some light on this:
> echo "ref_categorie=test" | cut -c1-15-
> echo "ref_categorie=test" | cut -c1-14-
echo "ref_categorie=test" | cut -c15-
echo "ref_categorie=test" | cut -c15
It's executed on AIX if that matters. The man page is not very... (2 Replies)
Discussion started by: tsurko