≡ Menu

mv command

How do I rename a file called resume.docz to resume.doc? I would like to rename a .txt file as .doc file. How do I rename a file called foo.txt to foo.doc under Linux / Unix / Apple OS X / *BSD operating systems using the command prompt?
[click to continue…]

I would like to move a directory one level up into the root directory. I've all html files located in /home/apache2/www/html directory, and I'd like to move /home/apache2/www/html to one level up at /home/apache2/www/. How can I accomplish this over the ssh session?
[click to continue…]

HowTo: Linux Rename Files

How do I rename a file under Linux operating systems using command line (bash shell prompt)?
[click to continue…]

Linux Disable Wireless Networking ( Wi-Fi )

We have over 20+ Dell Precision M6400 laptops pre installed with Red Hat Enterprise Linux version 5.x. I was asked to disable Wi-Fi on all laptops as it poses a serious security risk to our sensitive (classified) systems and networks. How do I disable wireless networking (802.11) under Linux?
[click to continue…]

xargs: How To Control and Use Command Line Arguments

I am trying to use xargs command using shell pipes and not able to understand how to control and use command line arguments. For example I'd like to find out all *.c file located in 100s of sub-directories and move them to another directory called ~/old.src. How do I use command line args with xargs to achieve the same?
[click to continue…]

How To: Rename A File In Bash

How do I rename a file in bash under UNIX / OS X / Linux / BSD operating systems?
[click to continue…]

Unix Command To Rename A Folder

How do I rename a folder under UNIX operating systems using a command line tools?
[click to continue…]