LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-28-2004, 09:55 AM   #1
chipnuke
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
Linux Command and...Questions


I there i got question on unix base os

my question is

how

1) list the content of the working directory together with the acess control
2)remove all files in the working directory
3)list information about all process
4)show in(megabytes) the remaining disk space on the hard drive.
5) what happen when im create 2 files name ( text1.txt and text2.txt) and move it at the same time to same folder "ie new_folder".
 
Old 12-28-2004, 10:09 AM   #2
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi chipnuke,
let's make this quick

1) list the content of the working directory together with the acess control
ls -l

2)remove all files in the working directory
rm *

3)list information about all process
ps -A

4)show in(megabytes) the remaining disk space on the hard drive.
df -h

5) what happen when im create 2 files name ( text1.txt and text2.txt) and move it at the same time to same folder "ie new_folder".
Code:
touch file1
touch file2
mkdir folder
mv file1 file2 folder/
The last command will move both files to folder. Works as you'd expect.

Good luck to you,
- drowstar
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux "make" command questions. schapman43 Linux - Hardware 12 09-02-2005 11:26 PM
Command questions The Joker Linux - General 2 05-03-2005 09:15 AM
simple linux command questions herve2001 Slackware 5 02-11-2005 07:44 PM
Linux shell command questions BabaKali Linux - Newbie 4 11-09-2004 08:03 PM
Linux command-line web browser questions trollatm Linux - Software 1 12-20-2002 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration