Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Unix / Linux / Ubuntu Articles
Submit Article
Home
»
Articles
»
Unix / Linux / Ubuntu
»
Homework Help
RSS Feeds
Rename a file from first1.txt to first2.txt
Posted By:
Madison Campbell
Category:
Unix / Linux / Ubuntu
Views:
3089
Rename a file from first1.txt to first2.txt.
Code for Rename a file from first1.txt to first2.txt in Unix / Linux / Ubuntu
$ mv first1.txt first2.txt
Share:
Previous Post:
Explain the difference between echo “$SHELL” and echo ‘$SHELL’
Next Post:
Convert first1.txt file to hidden file
Didn't find what you were looking for? Find more on
Rename a file from first1.txt to first2.txt
Or get
search suggestion and latest updates
.
Madison Campbell
author of Rename a file from first1.txt to first2.txt is from Toronto,
Canada
.
View All Articles
Related Articles and Code:
Convert first1.txt file to hidden file
Sort file abc.txt and save this sorted file in xyz.txt
Append abc.txt, xyz .txt
Copy abc.txt into xyz
Shell script to perform operations like display, list, make directory and copy, rename, delete, edit file
Move or Rename file and directories - mv
Example to rename table name
Perform directory operations like display current , list, Make, Change directory and file operations like Copy, Rename, Delete, Edit based on menu
Write a shell script to search all files and rename them such that they do not contain the shell PID.
Write a shell script for renaming each files in the directory such that it will have the current shell PID as an extension
Write a menu driven shell script for Copy a file, Remove a file, Move a file
Split a large file into small files
Combine two files to a single file
Program of reading data from one text file and writing in new text file
File handling program to copy bytes from one file to another
File handling program to copy characters from one file to another
File handling program to count number of characters in a file
Program to describe The Functionality of merging two files in a single file
PROGRAM TO READ THE STUDENT DETAILS FROM THE STUDENT INFORMATION FILE USING FILE READ OPERATION
PROGRAM TO WRITE THE STUDENT DETAILS IN STUDENT INFORMATION FILE USING FILE WRITE OPERATION
Other Interesting Articles in Unix / Linux / Ubuntu:
Create a file with 10 lines. Display lines from 5 to 8
Shell script that prints names of all sub-directories present in the current directory
Explain two functionality of “mv” command with example?
Word Navigation in unix
Write a shell script, which will receive any number of filenames as arguments .The shell script should check whether such files already exist.
How would u display the hidden files?
Write a Script to Broadcast a message to a specified user when the user loged on any terminal
Write a shell program to concatenate the contents of 2 files
Display content of a file - more
How delete directory with files?
Create a directory - mkdir
How would u get online help of cat command?
Write a shell scripts that finds total no. of users and finds out how many of them are currently logged in.
Write a shell program to check whether a given string is palindrome or not.
Prepare the marksheet of the student
Script to count and report the number of entries present in each subdirectory mentioned in the path, which is supplied as a command-line argument
Compress and expand data - compress / uncompress
Change User - su
Find out how many users are currently working.
Navigation command in unix
Please enter your Comment
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
Unix / Linux / Ubuntu
View All
Advance
Basics
Commands
Homework Help
Interview FAQ
Terms and Terminology
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint