Search Results

Search: Posts Made By: iluvsushi
Forum: Fedora 02-14-2011
2,605
Posted By iluvsushi
Help with fedora virtual machine
hi,
i installed a virtual machine from virtualbox then i downloaded, burned and am running fedora on that virtual machine. i changed from graphical interface to terminal. now, the problem is that...
4,417
Posted By iluvsushi
[Solved] history command
hi,
i had to submit a project into a directory. i copied it from my location to the specified folder, no problemo.
just one thing though.
after i copied and searched for the time i copied using...
1,385
Posted By iluvsushi
what command should i use
hi i want the tcp and udp ports listed like below inside my current directory what command should i use? any help will be appreciated.

protocol_name TCP_port_number UDP_port_number
...
2,081
Posted By iluvsushi
help with understanding script
i am trying to understand this script example. the text does not explain it. can someone tell me briefly what each of the functions do. any help will be appreciated.
#!/bin/bash

killtree() {
...
2,187
Posted By iluvsushi
help printing processes
hello,
i need help with something which should be fairly simple but i am having a little trouble.
i need to list all the processes on the system but also need the parent id.
so the following does...
2,494
Posted By iluvsushi
thanks
thank you.
:b:
2,494
Posted By iluvsushi
help with shell scripting argument
#!/bin/bash

echo "enter a file or directory name"
read name
if [ -f $name ]
then
echo " argument is file "
ls -l $name | awk '{print $1,}'
elif [ ??? $name ]...
2,777
Posted By iluvsushi
hey methyl, trying to look for regular files,...
hey methyl,
trying to look for regular files, with one or more inodes, modified within the last 30 days.
variable a would display time last accessed, b would display time last modified and c would...
2,777
Posted By iluvsushi
a=`find / -type f -inum +1 -mtime -30 -exec ls...
a=`find / -type f -inum +1 -mtime -30 -exec ls -lu {} \; 2>/dev/null | awk '{print $6,$7,$8}'`

b=`find / -type f -inum +1 -mtime -30 -exec ls -lc {} \; 2>/dev/null | awk '{print $6,$7,$8}'`
...
2,777
Posted By iluvsushi
shell script help please
#!/bin/bash

x = `find / -type f -inum +1 -mtime -30 -exec ls -lu {} \; 2>/dev/null | awk '{print $6,$7,$8}'`

y = `find / -type f -inum +1 -mtime -30 -exec ls -lc {} \; 2>/dev/null | awk '{print...
1,598
Posted By iluvsushi
works and makes sense. both commands work. ...
works and makes sense.

both commands work.
find / -type f -inum +1 -mtime -30 -exec ls -lu {} \; 2>/dev/null
and second command.
find / -type f -inum +1 -mtime -30 -exec ls -lc {} \; 2>/dev/null
1,598
Posted By iluvsushi
thanks
thanks for the reply but no output
find / -type f -exec ls -lc{}\; 2> /dev/null
---------- Post updated at 05:08 PM ---------- Previous update was at 05:05 PM ----------

my bad it works.
ty...
1,598
Posted By iluvsushi
help with sorting files
find / -type f 2> /dev/null | find -inum +1 2> /dev/null | find -mtime -30 2> /dev/null
what i am trying to do i search all regular files in root directory with one or more
inodes modified within...
1,716
Posted By iluvsushi
thank you very much for quick reply and follow...
thank you very much for quick reply and follow up.
works perfect.
1,716
Posted By iluvsushi
i tried find -mtime -30 -print > /dev/null ...
i tried
find -mtime -30 -print > /dev/null
now it only prints out lines containing Permission denied, opposite of what i wanted. thanks for reply.
1,716
Posted By iluvsushi
help with awk
hi i have multiple rows of several outputs.
find: ./filename: Permission denied
i want to suppress the rows which say permission denied.

i was thinking of using awk for this
command | awk '(...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 06:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy