aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Unix/Linux Shell Programming and Commands
  • filename=sample.txtfile=\${filename%.*}echo \$file\$file ...
Multiple choice technology operating systems

filename=sample.txtfile=\${filename%.*}echo \$file\$file now contains

  1. txt

  2. sample

  3. .txt

  4. sample.

Reveal answer Fill a bubble to check yourself
A Correct answer

Keep practicing — related questions

  • my $txt = ‘I am learning Perl’; $txt =~ /(\w+)$/; print $1;
  • What is the output of the following code snippet? @echo off Copy /? > d:\test.txt
  • Parameter Name for input file name should start with………
  • how will u execute a file in unix?
  • The cmd: COPY A.TXT+B.TXT+C.TXT NEW.TXT ____________.
  • my $txt = 'I am learning Perl'; $txt =~ /(\w+)$/; What is value of $txt?
  • What command is used to determine a file's type or contents?
  • What the below command does? echo var=$<
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy